资源简介
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.xm
文件 466 2019-04-02 20:07 .idea\LearnWeb.iml
文件 196 2019-04-02 20:07 .idea\misc.xm
文件 268 2019-04-02 20:07 .idea\modules.xm
文件 20031 2019-04-02 20:07 .idea\workspace.xm
目录 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个文件信息
相关资源
- 学生狗新手入门的前端网页,html+cs
- 404代码html+css+js+图,就能用
-
html+css+js表格动态增删改与xm
l加载与 - Html+CSS+JS制作的简易贪吃蛇游戏
- 使用html+css+js实现自定义弹出对话框
- html+css+js购物车
- 很不错的后台模板html+css+js
- HTML+CSS+JS简单彩票统计脚本
- 用原生JS实现的多张图片上传及预览功
- html+css+js制作的小黑屋A Dark Room游戏(
- 前端游戏小项目html+css+js.zip
- html+css+js+echarts疫情可视化折线图
- 简约个性响应式个人博客模板静态网
- 使用html+css+js实现计算器
- 英语学习网站源码(纯HTML+css+js)
- html+css+js正方体的运动
- 纯静态html+css+js做的网站
- 网易前端必考之大作业html+css+js
评论
共有 条评论