资源简介
Inkscape矢量绘图工具,安装的时候可以选择中文进行安装
代码片段和文件信息
# Copyright 2007 Google Inc. All Rights Reserved.
# Licensed to PSF under a Contributor Agreement.
“““Abstract base Classes (ABCs) according to PEP 3119.“““
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:
for name in getattr(base “_
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 2184 2012-12-13 18:00 InkscapePortable\App\Inkscape\AUTHORS
文件 69120 2010-03-06 16:24 InkscapePortable\App\Inkscape\bzip2.dll
文件 18032 2011-07-08 20:25 InkscapePortable\App\Inkscape\COPYING
文件 26522 2011-07-08 20:25 InkscapePortable\App\Inkscape\COPYING.LIB
文件 250 2010-03-06 16:24 InkscapePortable\App\Inkscape\etc\fonts\conf.avail\10-autohint.conf
文件 257 2010-03-06 16:24 InkscapePortable\App\Inkscape\etc\fonts\conf.avail\10-no-sub-pixel.conf
文件 256 2010-03-06 16:24 InkscapePortable\App\Inkscape\etc\fonts\conf.avail\10-sub-pixel-bgr.conf
文件 256 2010-03-06 16:24 InkscapePortable\App\Inkscape\etc\fonts\conf.avail\10-sub-pixel-rgb.conf
文件 257 2010-03-06 16:24 InkscapePortable\App\Inkscape\etc\fonts\conf.avail\10-sub-pixel-vbgr.conf
文件 257 2010-03-06 16:24 InkscapePortable\App\Inkscape\etc\fonts\conf.avail\10-sub-pixel-vrgb.conf
文件 247 2010-03-06 16:24 InkscapePortable\App\Inkscape\etc\fonts\conf.avail\10-unhinted.conf
文件 943 2010-03-06 16:24 InkscapePortable\App\Inkscape\etc\fonts\conf.avail\20-fix-globaladvance.conf
文件 301 2010-03-06 16:24 InkscapePortable\App\Inkscape\etc\fonts\conf.avail\20-lohit-gujarati.conf
文件 1188 2010-03-06 16:24 InkscapePortable\App\Inkscape\etc\fonts\conf.avail\20-unhint-small-vera.conf
文件 514 2010-03-06 16:24 InkscapePortable\App\Inkscape\etc\fonts\conf.avail\30-amt-aliases.conf
文件 1484 2010-03-06 16:24 InkscapePortable\App\Inkscape\etc\fonts\conf.avail\30-urw-aliases.conf
文件 1723 2010-03-06 16:24 InkscapePortable\App\Inkscape\etc\fonts\conf.avail\40-generic.conf
文件 545 2010-03-06 16:24 InkscapePortable\App\Inkscape\etc\fonts\conf.avail\49-sansserif.conf
文件 269 2010-03-06 16:24 InkscapePortable\App\Inkscape\etc\fonts\conf.avail\50-user.conf
文件 271 2010-03-06 16:24 InkscapePortable\App\Inkscape\etc\fonts\conf.avail\51-local.conf
文件 1064 2010-03-06 16:24 InkscapePortable\App\Inkscape\etc\fonts\conf.avail\60-latin.conf
文件 12559 2010-03-06 16:24 InkscapePortable\App\Inkscape\etc\fonts\conf.avail\65-fonts-persian.conf
文件 954 2010-03-06 16:24 InkscapePortable\App\Inkscape\etc\fonts\conf.avail\65-nonlatin.conf
文件 454 2010-03-06 16:24 InkscapePortable\App\Inkscape\etc\fonts\conf.avail\69-unifont.conf
文件 306 2010-03-06 16:24 InkscapePortable\App\Inkscape\etc\fonts\conf.avail\70-no-bitmaps.conf
文件 296 2010-03-06 16:24 InkscapePortable\App\Inkscape\etc\fonts\conf.avail\70-yes-bitmaps.conf
文件 433 2010-03-06 16:24 InkscapePortable\App\Inkscape\etc\fonts\conf.avail\80-delicious.conf
文件 1754 2010-03-06 16:24 InkscapePortable\App\Inkscape\etc\fonts\conf.avail\90-synthetic.conf
文件 1474 2010-03-06 16:24 InkscapePortable\App\Inkscape\etc\fonts\conf.avail\README
文件 943 2010-03-06 16:24 InkscapePortable\App\Inkscape\etc\fonts\conf.d\20-fix-globaladvance.conf
............此处省略3431个文件信息
- 上一篇:S7-300/400PLC基础与案例精选
- 下一篇:思科C7200路由器ios
评论
共有 条评论