资源简介
zipDecoder.zip
代码片段和文件信息
# 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).
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2017-12-10 16:05 zipDecoder\
文件 3835 2017-12-10 15:44 zipDecoder\decoderZip.pyw
目录 0 2017-12-10 11:43 zipDecoder\Obj\
目录 0 2017-12-10 11:43 zipDecoder\Obj\DLLs\
文件 75809 2017-10-30 22:02 zipDecoder\Obj\DLLs\py.ico
文件 78396 2017-10-30 22:02 zipDecoder\Obj\DLLs\pyc.ico
文件 83351 2017-10-30 22:02 zipDecoder\Obj\DLLs\pyd.ico
文件 197784 2017-10-30 22:02 zipDecoder\Obj\DLLs\pyexpat.pyd
文件 155582 2017-10-30 22:02 zipDecoder\Obj\DLLs\python_lib.cat
文件 25407 2017-10-30 22:02 zipDecoder\Obj\DLLs\python_tools.cat
文件 27288 2017-10-30 22:02 zipDecoder\Obj\DLLs\select.pyd
文件 1124504 2017-10-30 22:02 zipDecoder\Obj\DLLs\sqlite3.dll
文件 1666048 2017-10-30 22:02 zipDecoder\Obj\DLLs\tcl86t.dll
文件 1967104 2017-10-30 22:02 zipDecoder\Obj\DLLs\tk86t.dll
文件 906392 2017-10-30 22:02 zipDecoder\Obj\DLLs\unicodedata.pyd
文件 28312 2017-10-30 22:02 zipDecoder\Obj\DLLs\winsound.pyd
文件 60568 2017-10-30 22:01 zipDecoder\Obj\DLLs\_asyncio.pyd
文件 94872 2017-10-30 22:01 zipDecoder\Obj\DLLs\_bz2.pyd
文件 130200 2017-10-30 22:01 zipDecoder\Obj\DLLs\_ctypes.pyd
文件 31896 2017-10-30 22:01 zipDecoder\Obj\DLLs\_ctypes_test.pyd
文件 267928 2017-10-30 22:01 zipDecoder\Obj\DLLs\_decimal.pyd
文件 170648 2017-10-30 22:01 zipDecoder\Obj\DLLs\_elementtree.pyd
文件 1664152 2017-10-30 22:01 zipDecoder\Obj\DLLs\_hashlib.pyd
文件 254616 2017-10-30 22:01 zipDecoder\Obj\DLLs\_lzma.pyd
文件 38552 2017-10-30 22:01 zipDecoder\Obj\DLLs\_msi.pyd
文件 29848 2017-10-30 22:01 zipDecoder\Obj\DLLs\_multiprocessing.pyd
文件 43160 2017-10-30 22:01 zipDecoder\Obj\DLLs\_overlapped.pyd
文件 72856 2017-10-30 22:01 zipDecoder\Obj\DLLs\_socket.pyd
文件 85656 2017-10-30 22:01 zipDecoder\Obj\DLLs\_sqlite3.pyd
文件 2061464 2017-10-30 22:01 zipDecoder\Obj\DLLs\_ssl.pyd
文件 52376 2017-10-30 22:01 zipDecoder\Obj\DLLs\_testbuffer.pyd
............此处省略1419个文件信息
- 上一篇:MDSolids30.zip
- 下一篇:计算理论课后答案.rar
相关资源
- 计算理论课后答案.rar
- MDSolids30.zip
- jiwangkailai02_3097332.zip
- verilog最终snake.rar
- Rational+统一过程引论原书第2版.pdf
- 精通特征工程.pdf
- 5ulv2n.part1.rar
- 医学断层图像重建仿真实验.黄力宇朱
- Ginkgo_USB-SPI_nRF24L01_Setup_v1.0.0.rar
- IndustryPrintProcessModeler_20170718.zip
- c实现软件系统监控.zip
- Spire.XLS免费版.zip
- IEC62351-5-2013(TS)电力系统数据和通信
- zjjxjsyzy_9675367.zip
- VisualC数字图像模式识别技术及工程实
- 漏洞管理-GBT33561-2017信息安全技术安全
- HDF5查看工具.rar
- 一天搞懂深度学习高清版2(李宏毅)
- FeiQ发布版源代码修复版(QT5).zip
- book.rar85742
- 模式识别第二版.rar
- 博客项目.rar
- GBT14213-2008.pdf
- 打飞机_修正版.zip
- openswan-2.6.50.tar.gz
- JSBSim运行文件仿真结果画图脚本.zip
-
ob
jective-C编程全解(第3版).pdf - NDwww.net
- 6.55开发和运行无限点破解.rar
- liaoning.zip
评论
共有 条评论