91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 11.19MB
    文件類型: .zip
    金幣: 1
    下載: 0 次
    發布日期: 2023-06-16
  • 語言: Html/CSS
  • 標簽: html+css+js??

資源簡介

html+css+js 可以用作web期末作業

資源截圖

代碼片段和文件信息

#?Copyright?2007?Google?Inc.?All?Rights?Reserved.
#?Licensed?to?PSF?under?a?Contributor?Agreement.

“““Abstract?base?Classes?(ABCs)?according?to?PEP?3119.“““

from?_weakrefset?import?WeakSet


def?abstractmethod(funcobj):
????“““A?decorator?indicating?abstract?methods.

????Requires?that?the?metaclass?is?ABCmeta?or?derived?from?it.??A
????class?that?has?a?metaclass?derived?from?ABCmeta?cannot?be
????instantiated?unless?all?of?its?abstract?methods?are?overridden.
????The?abstract?methods?can?be?called?using?any?of?the?normal
????‘super‘?call?mechanisms.

????Usage:

????????class?C(metaclass=ABCmeta):
????????????@abstractmethod
????????????def?my_abstract_method(self?...):
????????????????...
????“““
????funcobj.__isabstractmethod__?=?True
????return?funcobj


class?abstractclassmethod(classmethod):
????“““
????A?decorator?indicating?abstract?classmethods.

????Similar?to?abstractmethod.

????Usage:

????????class?C(metaclass=ABCmeta):
????????????@abstractclassmethod
????????????def?my_abstract_classmethod(cls?...):
????????????????...

????‘abstractclassmethod‘?is?deprecated.?Use?‘classmethod‘?with
????‘abstractmethod‘?instead.
????“““

????__isabstractmethod__?=?True

????def?__init__(self?callable):
????????callable.__isabstractmethod__?=?True
????????super().__init__(callable)


class?abstractstaticmethod(staticmethod):
????“““
????A?decorator?indicating?abstract?staticmethods.

????Similar?to?abstractmethod.

????Usage:

????????class?C(metaclass=ABCmeta):
????????????@abstractstaticmethod
????????????def?my_abstract_staticmethod(...):
????????????????...

????‘abstractstaticmethod‘?is?deprecated.?Use?‘staticmethod‘?with
????‘abstractmethod‘?instead.
????“““

????__isabstractmethod__?=?True

????def?__init__(self?callable):
????????callable.__isabstractmethod__?=?True
????????super().__init__(callable)


class?abstractproperty(property):
????“““
????A?decorator?indicating?abstract?properties.

????Requires?that?the?metaclass?is?ABCmeta?or?derived?from?it.??A
????class?that?has?a?metaclass?derived?from?ABCmeta?cannot?be
????instantiated?unless?all?of?its?abstract?properties?are?overridden.
????The?abstract?properties?can?be?called?using?any?of?the?normal
????‘super‘?call?mechanisms.

????Usage:

????????class?C(metaclass=ABCmeta):
????????????@abstractproperty
????????????def?my_abstract_property(self):
????????????????...

????This?defines?a?read-only?property;?you?can?also?define?a?read-write
????abstract?property?using?the?‘long‘?form?of?property?declaration:

????????class?C(metaclass=ABCmeta):
????????????def?getx(self):?...
????????????def?setx(self?value):?...
????????????x?=?abstractproperty(getx?setx)

????‘abstractproperty‘?is?deprecated.?Use?‘property‘?with?‘abstractmethod‘
????instead.
????“““

????__isabstractmethod__?=?True


class?ABCmeta(type):

????“““metaclass?for?defining?Abstract?base?Classes?(ABCs).

????Use?this?metaclass?to?create?an?ABC.??An?ABC?can?be?subclassed
????directly?and?then?acts?as?a?mix-in?class.??

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2020-06-06?11:06??.idea\
?????目錄???????????0??2020-06-06?11:06??.idea\dictionaries\
?????文件??????????92??2019-04-02?20:07??.idea\dictionaries\Administrator.xml
?????文件?????????466??2019-04-02?20:07??.idea\LearnWeb.iml
?????文件?????????196??2019-04-02?20:07??.idea\misc.xml
?????文件?????????268??2019-04-02?20:07??.idea\modules.xml
?????文件???????20031??2019-04-02?20:07??.idea\workspace.xml
?????目錄???????????0??2020-06-06?11:06??css\
?????文件???????17708??2019-04-02?20:07??css\common.css
?????文件????????4982??2019-04-02?20:07??css\iconfont.css
?????目錄???????????0??2020-06-06?11:06??img\
?????文件??????133191??2019-04-02?20:07??img\ad1.jpg
?????文件???????97593??2019-04-02?20:07??img\ad2.jpg
?????文件???????34343??2019-04-02?20:07??img\ad3.jpg
?????文件??????101544??2019-04-02?20:07??img\ad4.jpg
?????文件????????1843??2019-04-02?20:07??img\earphone.png
?????文件??????118315??2019-04-02?20:07??img\jiadian.jpg
?????文件???????57935??2019-04-02?20:07??img\jiadian02.jpg
?????文件???????31168??2019-04-02?20:07??img\jiadian1.jpg
?????文件???????26560??2019-04-02?20:07??img\jiadian2.jpg
?????文件??????358155??2019-04-02?20:07??img\jiadian3.jpg
?????文件???????28892??2019-04-02?20:07??img\jiadian4.jpg
?????文件???????57935??2019-04-02?20:07??img\jiadian5.jpg
?????文件???????57356??2019-04-02?20:07??img\jiadian6.png
?????文件??????146370??2019-04-02?20:07??img\jiadian7.png
?????文件???????56563??2019-04-02?20:07??img\jiadian8.png
?????文件???????15319??2019-04-02?20:07??img\jingshuiqi.jpg
?????文件????????1170??2019-04-02?20:07??img\mi-logo.png
?????文件???????16579??2019-04-02?20:07??img\nav.gif
?????文件???????25042??2019-04-02?20:07??img\phone-小米6x.jpg
?????文件???????31697??2019-04-02?20:07??img\phone-小米8SE.jpg
............此處省略2334個文件信息

評論

共有 條評論