-
大小: 91.61MB文件类型: .zip金币: 2下载: 2 次发布日期: 2022-02-15
- 语言: C/C++
- 标签: codeblocks 免安装 免配置
资源简介
codeblocks免安装免配置环境绿色版,自带编译环境,直接运行就可以写c、c++代码
代码片段和文件信息
# 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()
if getattr(value “__isabstractmethod__“ False))
for base in bases:
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2018-09-29 17:27 codeblocks免安装免配置\
目录 0 2018-09-29 17:27 codeblocks免安装免配置\$PLUGINSDIR\
文件 5632 2018-09-29 17:27 codeblocks免安装免配置\$PLUGINSDIR\AdvSplash.dll
文件 11264 2018-09-29 17:27 codeblocks免安装免配置\$PLUGINSDIR\System.dll
文件 25818 2017-12-25 15:34 codeblocks免安装免配置\$PLUGINSDIR\modern-header.bmp
文件 26494 2003-09-24 02:34 codeblocks免安装免配置\$PLUGINSDIR\modern-wizard.bmp
文件 9728 2018-09-29 17:27 codeblocks免安装免配置\$PLUGINSDIR\nsDialogs.dll
文件 564422 2017-12-28 18:19 codeblocks免安装免配置\$PLUGINSDIR\spltmp.bmp
文件 203264 2017-12-29 15:41 codeblocks免安装免配置\Addr2LineUI.exe
文件 58368 2017-12-29 15:41 codeblocks免安装免配置\CbLauncher.exe
目录 0 2018-09-29 17:27 codeblocks免安装免配置\MinGW\
文件 1230 2010-05-18 03:54 codeblocks免安装免配置\MinGW\COPYING-expat.txt
文件 1061 2013-09-29 03:43 codeblocks免安装免配置\MinGW\COPYING.ISL.txt
文件 1109 2013-09-21 10:55 codeblocks免安装免配置\MinGW\COPYING.MinGW.txt
文件 3397 2010-05-31 03:44 codeblocks免安装免配置\MinGW\COPYING.RUNTIME-gcc-tdm.txt
文件 2940 2013-09-17 07:08 codeblocks免安装免配置\MinGW\COPYING.winpthreads.txt
文件 35821 2010-05-31 03:45 codeblocks免安装免配置\MinGW\COPYING3-gcc-tdm.txt
文件 35821 2010-05-31 03:45 codeblocks免安装免配置\MinGW\COPYING3-gdb-tdm.txt
文件 7804 2010-05-31 03:45 codeblocks免安装免配置\MinGW\COPYING3.LIB-gcc-tdm.txt
文件 40092 2012-04-11 13:31 codeblocks免安装免配置\MinGW\LICENSE-python.txt
文件 18265 2015-06-27 10:06 codeblocks免安装免配置\MinGW\README-gcc-tdm.txt
文件 5503 2015-06-22 12:13 codeblocks免安装免配置\MinGW\README-gdb32-tdm.txt
目录 0 2018-09-29 17:27 codeblocks免安装免配置\MinGW\bin\
文件 666126 2014-01-10 06:49 codeblocks免安装免配置\MinGW\bin\addr2line.exe
文件 692238 2014-01-10 06:49 codeblocks免安装免配置\MinGW\bin\ar.exe
文件 1285646 2014-01-10 06:49 codeblocks免安装免配置\MinGW\bin\as.exe
文件 805376 2015-06-27 13:11 codeblocks免安装免配置\MinGW\bin\c++.exe
文件 665102 2014-01-10 06:49 codeblocks免安装免配置\MinGW\bin\c++filt.exe
文件 803840 2015-06-27 13:11 codeblocks免安装免配置\MinGW\bin\cpp.exe
文件 722958 2014-01-10 06:49 codeblocks免安装免配置\MinGW\bin\dlltool.exe
文件 56334 2014-01-10 06:49 codeblocks免安装免配置\MinGW\bin\dllwrap.exe
............此处省略4323个文件信息
相关资源
- VC++6.0 绿色版,免安装,非常好用。
- wxWidgets初学者导引
- 7z编译调用
- libstdc++-6.dll
- C语言-CodeBlocks-学生成绩管理系统.zi
- Sql Server 2008 绿色版免安装
- codeblocks-16.01mingw-setup.exe
- 带mingw的codeblocks-13.12安装版
- 亲戚关系计算器C语言源码
- codeblocks写的c语言小游戏源代码
- codeblocks-17.12mingw-setup网盘
- Turbo C/C++ for Windows 集成实验环境免安
-
st
yleControls(皮肤控件) 4.53 源码免 - c语言学生管理系统源码(基于codebl
- VC++6.0免安装版
- vc6 绿色完整版win10可用
- codeblocks
评论
共有 条评论