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

資源簡介

從官網下載的Windows x86-64 MSI installer安裝之后的文件,壓縮zip后的壓縮包

資源截圖

代碼片段和文件信息

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

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

import?types

from?_weakrefset?import?WeakSet

#?Instance?of?old-style?class
class?_C:?pass
_InstanceType?=?type(_C())


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?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)
????“““
????__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.??You?can?also?register
????unrelated?concrete?classes?(even?built-in?classes)?and?unrelated
????ABCs?as?‘virtual?subclasses‘?--?these?and?their?descendants?will
????be?considered?subclasses?of?the?registering?ABC?by?the?built-in
????issubclass()?function?but?the?registering?ABC?won‘t?show?up?in
????their?MRO?(Method?Resolution?Order)?nor?will?method
????implementations?defined?by?the?registering?ABC?be?callable?(not
????even?via?super()).

????“““

????#?A?global?counter?that?is?incremented?each?time?a?class?is
????#?registered?as?a?virtual?subclass?of?anything.??It?forces?the
????#?negative?cache?to?be?cleared?before?its?next?use.
????_abc_invalidation_counter?=?0

????def?__new__(mcls?name?bases?namespace):
????????cls?=?super(ABCmeta?mcls).__new__(mcls?name?bases?namespace)
????????#?Compute?set?of?abstract?method?names
????????abstracts?=?set(name
?????????????????????for?name?value?in?namespace.items()
????????????

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2019-03-03?16:55??Python27\
?????目錄???????????0??2019-03-03?16:55??Python27\DLLs\
?????文件???????80384??2011-06-12?14:24??Python27\DLLs\bz2.pyd
?????文件???????19790??2011-03-08?09:45??Python27\DLLs\py.ico
?????文件???????19790??2011-03-08?09:45??Python27\DLLs\pyc.ico
?????文件??????163840??2011-06-12?14:24??Python27\DLLs\pyexpat.pyd
?????文件???????10752??2011-06-12?14:24??Python27\DLLs\select.pyd
?????文件??????535040??2011-06-12?14:24??Python27\DLLs\sqlite3.dll
?????文件?????1172992??2010-08-28?14:51??Python27\DLLs\tcl85.dll
?????文件????????9728??2010-08-28?14:51??Python27\DLLs\tclpip85.dll
?????文件?????1759232??2010-08-28?15:07??Python27\DLLs\tk85.dll
?????文件??????689664??2011-06-12?14:24??Python27\DLLs\unicodedata.pyd
?????文件???????10240??2011-06-12?14:24??Python27\DLLs\winsound.pyd
?????文件?????1281536??2011-06-12?14:26??Python27\DLLs\_bsddb.pyd
?????文件??????111616??2011-06-12?14:24??Python27\DLLs\_ctypes.pyd
?????文件???????15360??2011-06-12?14:24??Python27\DLLs\_ctypes_test.pyd
?????文件??????166400??2011-06-12?14:24??Python27\DLLs\_elementtree.pyd
?????文件??????471552??2011-06-12?14:24??Python27\DLLs\_hashlib.pyd
?????文件???????61952??2011-06-12?14:24??Python27\DLLs\_msi.pyd
?????文件???????31744??2011-06-12?14:24??Python27\DLLs\_multiprocessing.pyd
?????文件???????46080??2011-06-12?14:24??Python27\DLLs\_socket.pyd
?????文件???????58368??2011-06-12?14:24??Python27\DLLs\_sqlite3.pyd
?????文件?????1167360??2011-06-12?14:26??Python27\DLLs\_ssl.pyd
?????文件???????36864??2011-06-12?14:24??Python27\DLLs\_testcapi.pyd
?????文件???????41472??2011-06-12?14:24??Python27\DLLs\_tkinter.pyd
?????目錄???????????0??2019-03-03?16:55??Python27\Doc\
?????文件?????5858915??2011-06-12?14:29??Python27\Doc\python272.chm
?????目錄???????????0??2019-03-03?16:55??Python27\include\
?????文件???????46411??2011-05-30?05:54??Python27\include\abstract.h
?????文件????????1144??2011-03-08?09:46??Python27\include\asdl.h
?????文件?????????243??2011-03-08?09:46??Python27\include\ast.h
............此處省略3164個文件信息

評論

共有 條評論