资源简介
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
相关资源
- vspd7.2.308.zip
- 价值2k的H漫画小说系统
- Pythonamp;课堂amp;笔记(高淇amp;400;集第
- ddos压力测试工具99657
- UML建模大全
- 开源1A锂电池充电板TP4056原理图+PCB
- m1卡 ic卡可选择扇区初始化加密软件
- TSCC.exe
- FTP课程设计(服务端+客户端)
- 计算机图形学 边填充算法实现代码
- 电力系统潮流计算程序集合
- oracle数据迁移项目实施方案
- Web Api 通过文件流 文件到本地
- Visio图标-最新最全的网络通信图标库
- Spire API文档
- OpenGL参考手册
- Python中Numpy库最新教程
- SPD博士V5.3.exe
- 直流无刷电机方波驱动 stm32 例程代码
- layui后台管理模板
- 仿知乎界面小程序源代码
- 云平台-阿里云详细介绍
- photoshop经典1000例
- scratch垃圾分类源码(最终版本).sb
- IAR ARM 7.8破解
- TI CCS V5.4 安装步骤及破解文件
- 松下plc FP-XH的驱动
- 局域网硬件信息收集工具
- 加快Windows XP操作系统开机速度
- 联想启天M4350 BIOS升级文件
评论
共有 条评论