basictypes.pythoninterfaces
index
p:\properties\basictypes\pythoninterfaces.py

Core-python interface definitions

 
Modules
       
sys

 
Classes
       
Interface
IArrayByteswap
IArrayIOFile
IArrayIOList
IArrayIOString
IArrayMetadata
IBSDIteration
IBSDIterationSetLocation
ICopyable
ICopyCopy
IDeepCopyable
ICopyDeepCopy
IIterator
IMappingClear
IMappingCopy
IMappingGet
IMappingHasKey
IMappingItems
IMappingIterItems
IMappingIterKeys
IMappingIterValues
IMappingKeys
IMappingPopItem
IMappingSetDefault
IMappingUpdate
IMappingValues
IObjectComparable
IObjectContains
IDBMDatabase(IObjectContains, IObjectIter, IObjectGetItem, IObjectSetItem, IObjectDelItem, IMappingIterKeys, IMappingKeys, IStreamClose, IMappingHasKey)
IObjectDelItem
IObjectEq
IObjectGetItem
IObjectHash
IObjectIter
IObjectLength
IObjectNe
IObjectNonZero
IObjectPyDict
IObjectPyDoc
IObjectPyName
IObjectSetItem
IPickleGetInitArgs
IPickleGetState
IPickleSetState
IPickleable
ISequenceAppend
ISequenceCount
ITextCount
ISequenceDelItem
ISequenceDelSlice
ISequenceExtend
ISequenceGetItem
ISequenceGetSlice
ISequenceIndex
ITextIndex
ITextIndexRight
ISequenceInsert
ISequencePop
ISequencePopAny
ISequenceRemove
ISequenceReverse
ISequenceSetItem
ISequenceSetSlice
ISequenceSort
IStreamClose
IStreamFlush
IStreamIsTTY
IStreamMode
IStreamName
IStreamRead
IStreamReadLine
IStreamReadLines
IStreamSeek
IStreamTell
IStreamTruncate
IStreamWrite
IStreamWriteLines
IStreamXReadLines
IStringIOGetValue
ITextCapitalize
ITextCaseLower
ITextCaseSwap
ITextCaseTitle
ITextCaseUpper
ITextCenterAlign
ITextDecode
ITextEncode
ITextEndsWith
ITextExpandTabs
ITextFind
ITextFindRight
ITextIsAlpha
ITextIsAlphaNumeric
ITextIsDigit
ITextIsLower
ITextIsNumeric
ITextIsSpace
ITextIsTitleCased
ITextIsUpperCased
ITextJoin
ITextLeftAlign
ITextReplace
ITextRightAlign
ITextSplit
ITextSplitLines
ITextStartsWith
ITextStrip
ITextStripLeft
ITextStripRight
ITextTranslate
ITextZeroFill

 
class IArrayByteswap(Interface)
    Mutable-array interface
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.IArrayByteswap'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.IArrayByteswap at 1a780b0>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27719240>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278D690>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'byteswap': <zope.interface.interface.Method object at 0x01A78090>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Mutable-array interface', '__identifier__': 'basictypes.pythoninterfaces.IArrayByteswap', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.IArrayByteswap at 1a780b0>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'IArrayByteswap', '_implied': {<InterfaceClass basictypes.pythoninterfaces.IArrayByteswap at 1a780b0>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.IArrayByteswap at 1a780b0>', ...}
__getattribute__ = <method-wrapper object at 0x0278D930>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278D690>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A780B0>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278D610>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278D930>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A6CAB0; to 'InterfaceClass' at 01A780B0 (IArrayByteswap)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A780B0>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A780B0>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A780B0>
Test whether a specification is or extends another

 
class IArrayIOFile(Interface)
    Array-object to/from file method interfaces
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.IArrayIOFile'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.IArrayIOFile at 1a69f10>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27719120>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278D490>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'fromfile': <zope.interface.interface.Method object at 0x01A69F30>, 'tofile': <zope.interface.interface.Method object at 0x01A69F50>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Array-object to/from file method interfaces', '__identifier__': 'basictypes.pythoninterfaces.IArrayIOFile', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.IArrayIOFile at 1a69f10>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'IArrayIOFile', '_implied': {<InterfaceClass basictypes.pythoninterfaces.IArrayIOFile at 1a69f10>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.IArrayIOFile at 1a69f10>', ...}
__getattribute__ = <method-wrapper object at 0x0278D850>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278D490>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A69F10>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278D190>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278D850>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A6C9F0; to 'InterfaceClass' at 01A69F10 (IArrayIOFile)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A69F10>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A69F10>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A69F10>
Test whether a specification is or extends another

 
class IArrayIOList(Interface)
    Array-object to/from list method interfaces
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.IArrayIOList'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.IArrayIOList at 1a69e70>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27719080>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278DA10>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'fromlist': <zope.interface.interface.Method object at 0x01A69EB0>, 'tolist': <zope.interface.interface.Method object at 0x01A69E90>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Array-object to/from list method interfaces', '__identifier__': 'basictypes.pythoninterfaces.IArrayIOList', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.IArrayIOList at 1a69e70>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'IArrayIOList', '_implied': {<InterfaceClass basictypes.pythoninterfaces.IArrayIOList at 1a69e70>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.IArrayIOList at 1a69e70>', ...}
__getattribute__ = <method-wrapper object at 0x0278D610>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278DA10>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A69E70>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278D930>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278D610>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A6C990; to 'InterfaceClass' at 01A69E70 (IArrayIOList)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A69E70>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A69E70>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A69E70>
Test whether a specification is or extends another

 
class IArrayIOString(Interface)
    Array-object to/from string method interfaces
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.IArrayIOString'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.IArrayIOString at 1a69df0>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27719040>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278D910>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'fromstring': <zope.interface.interface.Method object at 0x01A69E10>, 'tostring': <zope.interface.interface.Method object at 0x01A69DD0>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Array-object to/from string method interfaces', '__identifier__': 'basictypes.pythoninterfaces.IArrayIOString', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.IArrayIOString at 1a69df0>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'IArrayIOString', '_implied': {<InterfaceClass basictypes.pythoninterfaces.IArrayIOString at 1a69df0>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.IArrayIOString at 1a69df0>', ...}
__getattribute__ = <method-wrapper object at 0x0278D990>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278D910>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A69DF0>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278D410>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278D990>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A6C930; to 'InterfaceClass' at 01A69DF0 (IArrayIOString)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A69DF0>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A69DF0>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A69DF0>
Test whether a specification is or extends another

 
class IArrayMetadata(Interface)
    Array-object providing item-type metadata
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.IArrayMetadata'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.IArrayMetadata at 1a69f90>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27719160>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278D850>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'itemsize': <zope.interface.interface.Attribute object at 0x01A69F70>, 'typecode': <zope.interface.interface.Attribute object at 0x01A69FB0>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Array-object providing item-type metadata', '__identifier__': 'basictypes.pythoninterfaces.IArrayMetadata', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.IArrayMetadata at 1a69f90>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'IArrayMetadata', '_implied': {<InterfaceClass basictypes.pythoninterfaces.IArrayMetadata at 1a69f90>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.IArrayMetadata at 1a69f90>', ...}
__getattribute__ = <method-wrapper object at 0x0278D770>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278D850>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A69F90>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278D930>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278D770>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A6CA50; to 'InterfaceClass' at 01A69F90 (IArrayMetadata)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A69F90>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A69F90>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A69F90>
Test whether a specification is or extends another

 
class IBSDIteration(Interface)
    BSDDB iteration interface
 
This is the interface provided by the dbhash module's
"database" objects (in addition to the IDBMDatabase
interface).
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.IBSDIteration'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.IBSDIteration at 1a69c90>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27718800>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278D910>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'first': <zope.interface.interface.Method object at 0x01A69D10>, 'last': <zope.interface.interface.Method object at 0x01A69C70>, 'next': <zope.interface.interface.Method object at 0x01A69CD0>, 'previous': <zope.interface.interface.Method object at 0x01A69D30>, 'sync': <zope.interface.interface.Method object at 0x01A69B30>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'BSDDB iteration interface\n\n\tThis is the interfac...s (in addition to the IDBMDatabase\n\tinterface).\n\t', '__identifier__': 'basictypes.pythoninterfaces.IBSDIteration', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.IBSDIteration at 1a69c90>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'IBSDIteration', '_implied': {<InterfaceClass basictypes.pythoninterfaces.IBSDIteration at 1a69c90>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.IBSDIteration at 1a69c90>', ...}
__getattribute__ = <method-wrapper object at 0x0278D610>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278D910>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A69C90>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278D410>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278D610>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A6C870; to 'InterfaceClass' at 01A69C90 (IBSDIteration)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A69C90>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A69C90>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A69C90>
Test whether a specification is or extends another

 
class IBSDIterationSetLocation(IBSDIteration)
    Adds ability to set database cursor location by key
 
 
Method resolution order:
IBSDIterationSetLocation
IBSDIteration
Interface

Data and other attributes defined here:
__bases__ = (<InterfaceClass basictypes.pythoninterfaces.IBSDIteration at 1a69c90>,)
__identifier__ = 'basictypes.pythoninterfaces.IBSDIterationSetLocation'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.IBSDIterationSetLocation at 1a69cf0>, <InterfaceClass basictypes.pythoninterfaces.IBSDIteration at 1a69c90>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27718960>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278D610>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'set_location': <zope.interface.interface.Method object at 0x01A69D90>}, '__bases__': (<InterfaceClass basictypes.pythoninterfaces.IBSDIteration at 1a69c90>,), '__doc__': 'Adds ability to set database cursor location by key\n\t', '__identifier__': 'basictypes.pythoninterfaces.IBSDIterationSetLocation', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.IBSDIterationSetLocation at 1a69cf0>, <InterfaceClass basictypes.pythoninterfaces.IBSDIteration at 1a69c90>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'IBSDIterationSetLocation', '_implied': {<InterfaceClass basictypes.pythoninterfaces.IBSDIteration at 1a69c90>: (), <InterfaceClass basictypes.pythoninterfaces.IBSDIterationSetLocation at 1a69cf0>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.IBSDIterationSetLocation at 1a69cf0>', ...}
__getattribute__ = <method-wrapper object at 0x0278D6B0>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278D610>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A69CF0>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278D9B0>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278D6B0>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A6C8D0; to 'InterfaceClass' at 01A69CF0 (IBSDIterationSetLocation)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A69CF0>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A69CF0>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A69CF0>
Test whether a specification is or extends another

 
class ICopyCopy(ICopyable)
    Object which defines explicit shallow __copy__ method
 
 
Method resolution order:
ICopyCopy
ICopyable
Interface

Data and other attributes defined here:
__bases__ = (<InterfaceClass basictypes.pythoninterfaces.ICopyable at 1a33fd0>,)
__identifier__ = 'basictypes.pythoninterfaces.ICopyCopy'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.ICopyCopy at 1a3f110>, <InterfaceClass basictypes.pythoninterfaces.ICopyable at 1a33fd0>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27419552>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278D930>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'__copy__': <zope.interface.interface.Method object at 0x01A3F0F0>}, '__bases__': (<InterfaceClass basictypes.pythoninterfaces.ICopyable at 1a33fd0>,), '__doc__': 'Object which defines explicit shallow __copy__ method', '__identifier__': 'basictypes.pythoninterfaces.ICopyCopy', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.ICopyCopy at 1a3f110>, <InterfaceClass basictypes.pythoninterfaces.ICopyable at 1a33fd0>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'ICopyCopy', '_implied': {<InterfaceClass basictypes.pythoninterfaces.ICopyCopy at 1a3f110>: (), <InterfaceClass basictypes.pythoninterfaces.ICopyable at 1a33fd0>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.ICopyCopy at 1a3f110>', ...}
__getattribute__ = <method-wrapper object at 0x0278D970>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278D930>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A3F110>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278DA10>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278D970>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A37720; to 'InterfaceClass' at 01A3F110 (ICopyCopy)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A3F110>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A3F110>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A3F110>
Test whether a specification is or extends another

 
class ICopyDeepCopy(IDeepCopyable)
    Object which defines explicit __deepcopy__ method
 
 
Method resolution order:
ICopyDeepCopy
IDeepCopyable
Interface

Data and other attributes defined here:
__bases__ = (<InterfaceClass basictypes.pythoninterfaces.IDeepCopyable at 1a3f170>,)
__identifier__ = 'basictypes.pythoninterfaces.ICopyDeepCopy'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.ICopyDeepCopy at 1a3f1f0>, <InterfaceClass basictypes.pythoninterfaces.IDeepCopyable at 1a3f170>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27419792>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278D610>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'__deepcopy__': <zope.interface.interface.Method object at 0x01A3F1D0>}, '__bases__': (<InterfaceClass basictypes.pythoninterfaces.IDeepCopyable at 1a3f170>,), '__doc__': 'Object which defines explicit __deepcopy__ method', '__identifier__': 'basictypes.pythoninterfaces.ICopyDeepCopy', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.ICopyDeepCopy at 1a3f1f0>, <InterfaceClass basictypes.pythoninterfaces.IDeepCopyable at 1a3f170>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'ICopyDeepCopy', '_implied': {<InterfaceClass basictypes.pythoninterfaces.ICopyDeepCopy at 1a3f1f0>: (), <InterfaceClass basictypes.pythoninterfaces.IDeepCopyable at 1a3f170>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.ICopyDeepCopy at 1a3f1f0>', ...}
__getattribute__ = <method-wrapper object at 0x0278DB10>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278D610>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A3F1F0>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278D270>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278DB10>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A377E0; to 'InterfaceClass' at 01A3F1F0 (ICopyDeepCopy)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A3F1F0>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A3F1F0>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A3F1F0>
Test whether a specification is or extends another

 
class ICopyable(Interface)
    Marker interface declaring that object is copyable
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.ICopyable'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.ICopyable at 1a33fd0>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27419432>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278DA10>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Marker interface declaring that object is copyable', '__identifier__': 'basictypes.pythoninterfaces.ICopyable', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.ICopyable at 1a33fd0>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'ICopyable', '_implied': {<InterfaceClass basictypes.pythoninterfaces.ICopyable at 1a33fd0>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.ICopyable at 1a33fd0>', ...}
__getattribute__ = <method-wrapper object at 0x0278D410>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278DA10>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A33FD0>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278D490>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278D410>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A376C0; to 'InterfaceClass' at 01A33FD0 (ICopyable)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A33FD0>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A33FD0>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A33FD0>
Test whether a specification is or extends another

 
class IDBMDatabase(IObjectContains, IObjectIter, IObjectGetItem, IObjectSetItem, IObjectDelItem, IMappingIterKeys, IMappingKeys, IStreamClose, IMappingHasKey)
    (Dumb/G)DBM Interface
 
XXX Note this interface is derived from the DumbDBM
        runtime class, there may be items which are not
        officially considered part of interface.
 
 
Method resolution order:
IDBMDatabase
IObjectContains
Interface
IObjectIter
IObjectGetItem
IObjectSetItem
IObjectDelItem
IMappingIterKeys
IMappingKeys
IStreamClose
IMappingHasKey

Data and other attributes defined here:
__bases__ = (<InterfaceClass basictypes.pythoninterfaces.IObjectContains at 1a33ad0>, <InterfaceClass basictypes.pythoninterfaces.IObjectIter at 1a33e10>, <InterfaceClass basictypes.pythoninterfaces.IObjectGetItem at 183fc30>, <InterfaceClass basictypes.pythoninterfaces.IObjectSetItem at 183fd90>, <InterfaceClass basictypes.pythoninterfaces.IObjectDelItem at 183fc10>, <InterfaceClass basictypes.pythoninterfaces.IMappingIterKeys at 1a69310>, <InterfaceClass basictypes.pythoninterfaces.IMappingKeys at 1a69290>, <InterfaceClass basictypes.pythoninterfaces.IStreamClose at 1a69450>, <InterfaceClass basictypes.pythoninterfaces.IMappingHasKey at 1a69110>)
__identifier__ = 'basictypes.pythoninterfaces.IDBMDatabase'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.IDBMDatabase at 1a69c30>, <InterfaceClass basictypes.pythoninterfaces.IObjectContains at 1a33ad0>, <InterfaceClass basictypes.pythoninterfaces.IObjectIter at 1a33e10>, <InterfaceClass basictypes.pythoninterfaces.IObjectGetItem at 183fc30>, <InterfaceClass basictypes.pythoninterfaces.IObjectSetItem at 183fd90>, <InterfaceClass basictypes.pythoninterfaces.IObjectDelItem at 183fc10>, <InterfaceClass basictypes.pythoninterfaces.IMappingIterKeys at 1a69310>, <InterfaceClass basictypes.pythoninterfaces.IMappingKeys at 1a69290>, <InterfaceClass basictypes.pythoninterfaces.IStreamClose at 1a69450>, <InterfaceClass basictypes.pythoninterfaces.IMappingHasKey at 1a69110>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27718720>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278D490>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {}, '__bases__': (<InterfaceClass basictypes.pythoninterfaces.IObjectContains at 1a33ad0>, <InterfaceClass basictypes.pythoninterfaces.IObjectIter at 1a33e10>, <InterfaceClass basictypes.pythoninterfaces.IObjectGetItem at 183fc30>, <InterfaceClass basictypes.pythoninterfaces.IObjectSetItem at 183fd90>, <InterfaceClass basictypes.pythoninterfaces.IObjectDelItem at 183fc10>, <InterfaceClass basictypes.pythoninterfaces.IMappingIterKeys at 1a69310>, <InterfaceClass basictypes.pythoninterfaces.IMappingKeys at 1a69290>, <InterfaceClass basictypes.pythoninterfaces.IStreamClose at 1a69450>, <InterfaceClass basictypes.pythoninterfaces.IMappingHasKey at 1a69110>), '__doc__': '(Dumb/G)DBM Interface\n\n\tXXX Note this interface ... not\n\t\tofficially considered part of interface.\n\t', '__identifier__': 'basictypes.pythoninterfaces.IDBMDatabase', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.IDBMDatabase at 1a69c30>, <InterfaceClass basictypes.pythoninterfaces.IObjectContains at 1a33ad0>, <InterfaceClass basictypes.pythoninterfaces.IObjectIter at 1a33e10>, <InterfaceClass basictypes.pythoninterfaces.IObjectGetItem at 183fc30>, <InterfaceClass basictypes.pythoninterfaces.IObjectSetItem at 183fd90>, <InterfaceClass basictypes.pythoninterfaces.IObjectDelItem at 183fc10>, <InterfaceClass basictypes.pythoninterfaces.IMappingIterKeys at 1a69310>, <InterfaceClass basictypes.pythoninterfaces.IMappingKeys at 1a69290>, <InterfaceClass basictypes.pythoninterfaces.IStreamClose at 1a69450>, <InterfaceClass basictypes.pythoninterfaces.IMappingHasKey at 1a69110>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'IDBMDatabase', '_implied': {<InterfaceClass basictypes.pythoninterfaces.IDBMDatabase at 1a69c30>: (), <InterfaceClass basictypes.pythoninterfaces.IMappingHasKey at 1a69110>: (), <InterfaceClass basictypes.pythoninterfaces.IMappingIterKeys at 1a69310>: (), <InterfaceClass basictypes.pythoninterfaces.IMappingKeys at 1a69290>: (), <InterfaceClass basictypes.pythoninterfaces.IObjectContains at 1a33ad0>: (), <InterfaceClass basictypes.pythoninterfaces.IObjectDelItem at 183fc10>: (), <InterfaceClass basictypes.pythoninterfaces.IObjectGetItem at 183fc30>: (), <InterfaceClass basictypes.pythoninterfaces.IObjectIter at 1a33e10>: (), <InterfaceClass basictypes.pythoninterfaces.IObjectSetItem at 183fd90>: (), <InterfaceClass basictypes.pythoninterfaces.IStreamClose at 1a69450>: (), ...}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.IDBMDatabase at 1a69c30>', ...}
__getattribute__ = <method-wrapper object at 0x0278D690>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278D490>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A69C30>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278D270>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278D690>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A6C810; to 'InterfaceClass' at 01A69C30 (IDBMDatabase)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A69C30>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A69C30>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A69C30>
Test whether a specification is or extends another

 
class IDeepCopyable(Interface)
    Marker interface declaring that object is copyable
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.IDeepCopyable'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.IDeepCopyable at 1a3f170>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27419712>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278D810>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Marker interface declaring that object is copyable', '__identifier__': 'basictypes.pythoninterfaces.IDeepCopyable', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.IDeepCopyable at 1a3f170>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'IDeepCopyable', '_implied': {<InterfaceClass basictypes.pythoninterfaces.IDeepCopyable at 1a3f170>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.IDeepCopyable at 1a3f170>', ...}
__getattribute__ = <method-wrapper object at 0x0278D190>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278D810>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A3F170>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278D9B0>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278D190>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A37780; to 'InterfaceClass' at 01A3F170 (IDeepCopyable)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A3F170>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A3F170>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A3F170>
Test whether a specification is or extends another

 
class IIterator(Interface)
    Object which can operate as an iterator
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.IIterator'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.IIterator at 1a3fa70>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27441752>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278DA10>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'__iter__': <zope.interface.interface.Method object at 0x01A3FA50>, 'next': <zope.interface.interface.Method object at 0x01A3F9F0>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Object which can operate as an iterator', '__identifier__': 'basictypes.pythoninterfaces.IIterator', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.IIterator at 1a3fa70>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'IIterator', '_implied': {<InterfaceClass basictypes.pythoninterfaces.IIterator at 1a3fa70>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.IIterator at 1a3fa70>', ...}
__getattribute__ = <method-wrapper object at 0x0278DA70>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278DA10>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A3FA70>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278D690>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278DA70>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A37E10; to 'InterfaceClass' at 01A3FA70 (IIterator)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A3FA70>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A3FA70>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A3FA70>
Test whether a specification is or extends another

 
class IMappingClear(Interface)
    Mapping object able to clear all subelements
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.IMappingClear'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.IMappingClear at 1a4bdb0>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27487408>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278D990>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'clear': <zope.interface.interface.Method object at 0x01A4BDD0>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Mapping object able to clear all subelements', '__identifier__': 'basictypes.pythoninterfaces.IMappingClear', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.IMappingClear at 1a4bdb0>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'IMappingClear', '_implied': {<InterfaceClass basictypes.pythoninterfaces.IMappingClear at 1a4bdb0>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.IMappingClear at 1a4bdb0>', ...}
__getattribute__ = <method-wrapper object at 0x0278D3D0>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278D990>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A4BDB0>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278D270>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278D3D0>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A48BD0; to 'InterfaceClass' at 01A4BDB0 (IMappingClear)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A4BDB0>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A4BDB0>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A4BDB0>
Test whether a specification is or extends another

 
class IMappingCopy(Interface)
    Mapping object able to create a shallow copy of itself
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.IMappingCopy'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.IMappingCopy at 1a4be30>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27487488>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278D690>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'copy': <zope.interface.interface.Method object at 0x01A4BE50>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Mapping object able to create a shallow copy of itself', '__identifier__': 'basictypes.pythoninterfaces.IMappingCopy', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.IMappingCopy at 1a4be30>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'IMappingCopy', '_implied': {<InterfaceClass basictypes.pythoninterfaces.IMappingCopy at 1a4be30>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.IMappingCopy at 1a4be30>', ...}
__getattribute__ = <method-wrapper object at 0x0278D190>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278D690>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A4BE30>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278D9D0>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278D190>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A48C30; to 'InterfaceClass' at 01A4BE30 (IMappingCopy)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A4BE30>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A4BE30>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A4BE30>
Test whether a specification is or extends another

 
class IMappingGet(Interface)
    Mapping object providing call to retrieve an item or return default
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.IMappingGet'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.IMappingGet at 1a4bef0>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27487648>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278D130>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'get': <zope.interface.interface.Method object at 0x01A4BF70>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Mapping object providing call to retrieve an item or return default', '__identifier__': 'basictypes.pythoninterfaces.IMappingGet', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.IMappingGet at 1a4bef0>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'IMappingGet', '_implied': {<InterfaceClass basictypes.pythoninterfaces.IMappingGet at 1a4bef0>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.IMappingGet at 1a4bef0>', ...}
__getattribute__ = <method-wrapper object at 0x0278D9B0>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278D130>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A4BEF0>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278D410>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278D9B0>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A48CF0; to 'InterfaceClass' at 01A4BEF0 (IMappingGet)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A4BEF0>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A4BEF0>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A4BEF0>
Test whether a specification is or extends another

 
class IMappingHasKey(Interface)
    Mapping object providing call to determine whether key is defined
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.IMappingHasKey'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.IMappingHasKey at 1a69110>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27487888>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278D610>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'has_key': <zope.interface.interface.Method object at 0x01A69130>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Mapping object providing call to determine whether key is defined', '__identifier__': 'basictypes.pythoninterfaces.IMappingHasKey', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.IMappingHasKey at 1a69110>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'IMappingHasKey', '_implied': {<InterfaceClass basictypes.pythoninterfaces.IMappingHasKey at 1a69110>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.IMappingHasKey at 1a69110>', ...}
__getattribute__ = <method-wrapper object at 0x0278DBD0>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278D610>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A69110>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278D3D0>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278DBD0>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A48E10; to 'InterfaceClass' at 01A69110 (IMappingHasKey)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A69110>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A69110>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A69110>
Test whether a specification is or extends another

 
class IMappingItems(Interface)
    Mapping object able to return all items as a (key, value) list
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.IMappingItems'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.IMappingItems at 1a69190>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27487968>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278D8B0>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'items': <zope.interface.interface.Method object at 0x01A691B0>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Mapping object able to return all items as a (key, value) list', '__identifier__': 'basictypes.pythoninterfaces.IMappingItems', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.IMappingItems at 1a69190>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'IMappingItems', '_implied': {<InterfaceClass basictypes.pythoninterfaces.IMappingItems at 1a69190>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.IMappingItems at 1a69190>', ...}
__getattribute__ = <method-wrapper object at 0x0278D9B0>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278D8B0>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A69190>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278D690>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278D9B0>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A48E70; to 'InterfaceClass' at 01A69190 (IMappingItems)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A69190>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A69190>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A69190>
Test whether a specification is or extends another

 
class IMappingIterItems(Interface)
    Mapping object able to return all items as a (key, value) iterable
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.IMappingIterItems'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.IMappingIterItems at 1a69210>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27488048>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278D270>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'iteritems': <zope.interface.interface.Method object at 0x01A69230>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Mapping object able to return all items as a (key, value) iterable', '__identifier__': 'basictypes.pythoninterfaces.IMappingIterItems', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.IMappingIterItems at 1a69210>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'IMappingIterItems', '_implied': {<InterfaceClass basictypes.pythoninterfaces.IMappingIterItems at 1a69210>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.IMappingIterItems at 1a69210>', ...}
__getattribute__ = <method-wrapper object at 0x0278D130>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278D270>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A69210>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278D3D0>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278D130>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A48ED0; to 'InterfaceClass' at 01A69210 (IMappingIterItems)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A69210>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A69210>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A69210>
Test whether a specification is or extends another

 
class IMappingIterKeys(Interface)
    Mapping object able to return all keys as an iterable
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.IMappingIterKeys'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.IMappingIterKeys at 1a69310>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27488208>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278D670>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'iterkeys': <zope.interface.interface.Method object at 0x01A69330>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Mapping object able to return all keys as an iterable', '__identifier__': 'basictypes.pythoninterfaces.IMappingIterKeys', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.IMappingIterKeys at 1a69310>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'IMappingIterKeys', '_implied': {<InterfaceClass basictypes.pythoninterfaces.IMappingIterKeys at 1a69310>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.IMappingIterKeys at 1a69310>', ...}
__getattribute__ = <method-wrapper object at 0x0278D550>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278D670>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A69310>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278D610>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278D550>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A48F90; to 'InterfaceClass' at 01A69310 (IMappingIterKeys)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A69310>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A69310>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A69310>
Test whether a specification is or extends another

 
class IMappingIterValues(Interface)
    Mapping object able to return all values as an iterable
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.IMappingIterValues'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.IMappingIterValues at 1a69410>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27476976>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278DBB0>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'itervalues': <zope.interface.interface.Method object at 0x01A69430>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Mapping object able to return all values as an iterable', '__identifier__': 'basictypes.pythoninterfaces.IMappingIterValues', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.IMappingIterValues at 1a69410>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'IMappingIterValues', '_implied': {<InterfaceClass basictypes.pythoninterfaces.IMappingIterValues at 1a69410>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.IMappingIterValues at 1a69410>', ...}
__getattribute__ = <method-wrapper object at 0x0278D3D0>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278DBB0>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A69410>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278DE70>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278D3D0>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A6C090; to 'InterfaceClass' at 01A69410 (IMappingIterValues)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A69410>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A69410>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A69410>
Test whether a specification is or extends another

 
class IMappingKeys(Interface)
    Mapping object able to return all keys as a list
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.IMappingKeys'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.IMappingKeys at 1a69290>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27488128>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278D410>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'keys': <zope.interface.interface.Method object at 0x01A692B0>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Mapping object able to return all keys as a list', '__identifier__': 'basictypes.pythoninterfaces.IMappingKeys', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.IMappingKeys at 1a69290>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'IMappingKeys', '_implied': {<InterfaceClass basictypes.pythoninterfaces.IMappingKeys at 1a69290>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.IMappingKeys at 1a69290>', ...}
__getattribute__ = <method-wrapper object at 0x0278D610>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278D410>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A69290>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278D770>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278D610>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A48F30; to 'InterfaceClass' at 01A69290 (IMappingKeys)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A69290>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A69290>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A69290>
Test whether a specification is or extends another

 
class IMappingPopItem(Interface)
    Mapping object providing method to retrieve and remove random value
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.IMappingPopItem'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.IMappingPopItem at 1a4bfd0>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27487728>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278DE70>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'popitem': <zope.interface.interface.Method object at 0x01A69030>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Mapping object providing method to retrieve and remove random value', '__identifier__': 'basictypes.pythoninterfaces.IMappingPopItem', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.IMappingPopItem at 1a4bfd0>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'IMappingPopItem', '_implied': {<InterfaceClass basictypes.pythoninterfaces.IMappingPopItem at 1a4bfd0>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.IMappingPopItem at 1a4bfd0>', ...}
__getattribute__ = <method-wrapper object at 0x0278DBD0>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278DE70>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A4BFD0>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278D870>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278DBD0>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A48D50; to 'InterfaceClass' at 01A4BFD0 (IMappingPopItem)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A4BFD0>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A4BFD0>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A4BFD0>
Test whether a specification is or extends another

 
class IMappingSetDefault(Interface)
    Mapping object providing method to retrieve or set-default key value
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.IMappingSetDefault'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.IMappingSetDefault at 1a4bfb0>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27487808>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278D690>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'setdefault': <zope.interface.interface.Method object at 0x01A690B0>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Mapping object providing method to retrieve or set-default key value', '__identifier__': 'basictypes.pythoninterfaces.IMappingSetDefault', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.IMappingSetDefault at 1a4bfb0>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'IMappingSetDefault', '_implied': {<InterfaceClass basictypes.pythoninterfaces.IMappingSetDefault at 1a4bfb0>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.IMappingSetDefault at 1a4bfb0>', ...}
__getattribute__ = <method-wrapper object at 0x0278D630>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278D690>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A4BFB0>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278D610>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278D630>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A48DB0; to 'InterfaceClass' at 01A4BFB0 (IMappingSetDefault)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A4BFB0>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A4BFB0>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A4BFB0>
Test whether a specification is or extends another

 
class IMappingUpdate(Interface)
    Mapping object able to update from another mapping object
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.IMappingUpdate'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.IMappingUpdate at 1a4beb0>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27487568>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278DB50>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'update': <zope.interface.interface.Method object at 0x01A4BED0>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Mapping object able to update from another mapping object', '__identifier__': 'basictypes.pythoninterfaces.IMappingUpdate', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.IMappingUpdate at 1a4beb0>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'IMappingUpdate', '_implied': {<InterfaceClass basictypes.pythoninterfaces.IMappingUpdate at 1a4beb0>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.IMappingUpdate at 1a4beb0>', ...}
__getattribute__ = <method-wrapper object at 0x0278DBD0>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278DB50>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A4BEB0>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278D690>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278DBD0>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A48C90; to 'InterfaceClass' at 01A4BEB0 (IMappingUpdate)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A4BEB0>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A4BEB0>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A4BEB0>
Test whether a specification is or extends another

 
class IMappingValues(Interface)
    Mapping object able to return all values as a list
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.IMappingValues'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.IMappingValues at 1a69390>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27476576>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278DD50>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'values': <zope.interface.interface.Method object at 0x01A693B0>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Mapping object able to return all values as a list', '__identifier__': 'basictypes.pythoninterfaces.IMappingValues', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.IMappingValues at 1a69390>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'IMappingValues', '_implied': {<InterfaceClass basictypes.pythoninterfaces.IMappingValues at 1a69390>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.IMappingValues at 1a69390>', ...}
__getattribute__ = <method-wrapper object at 0x0278D7F0>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278DD50>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A69390>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278D610>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278D7F0>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A6C030; to 'InterfaceClass' at 01A69390 (IMappingValues)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A69390>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A69390>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A69390>
Test whether a specification is or extends another

 
class IObjectComparable(Interface)
    Object which can be compared to other objects using cmp
 
There's a considerable number of methods, or a
very large number of interfaces.  Not sure what
should be done, so for now it's just a marker.
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.IObjectComparable'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.IObjectComparable at 183fdd0>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 25458248>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278D690>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': "Object which can be compared to other objects us...\tshould be done, so for now it's just a marker.\n\t", '__identifier__': 'basictypes.pythoninterfaces.IObjectComparable', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.IObjectComparable at 183fdd0>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'IObjectComparable', '_implied': {<InterfaceClass basictypes.pythoninterfaces.IObjectComparable at 183fdd0>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.IObjectComparable at 183fdd0>', ...}
__getattribute__ = <method-wrapper object at 0x0278D830>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278D690>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x0183FDD0>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278DBB0>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278D830>
x.__str__() <==> str(x)
__weakref__ = <weakref at 017A3DB0; to 'InterfaceClass' at 0183FDD0 (IObjectComparable)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x0183FDD0>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x0183FDD0>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x0183FDD0>
Test whether a specification is or extends another

 
class IObjectContains(Interface)
    Object which can determine whether it contains other
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.IObjectContains'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.IObjectContains at 1a33ad0>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27319352>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278D490>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'__contains__': <zope.interface.interface.Method object at 0x01A339B0>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Object which can determine whether it contains other\n\t', '__identifier__': 'basictypes.pythoninterfaces.IObjectContains', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.IObjectContains at 1a33ad0>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'IObjectContains', '_implied': {<InterfaceClass basictypes.pythoninterfaces.IObjectContains at 1a33ad0>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.IObjectContains at 1a33ad0>', ...}
__getattribute__ = <method-wrapper object at 0x0278D810>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278D490>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A33AD0>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278D970>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278D810>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A25CC0; to 'InterfaceClass' at 01A33AD0 (IObjectContains)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A33AD0>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A33AD0>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A33AD0>
Test whether a specification is or extends another

 
class IObjectDelItem(Interface)
    Object which deletes a sub-item by key (random access)
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.IObjectDelItem'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.IObjectDelItem at 183fc10>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 25459088>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278D910>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'__delitem__': <zope.interface.interface.Method object at 0x0184B190>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Object which deletes a sub-item by key (random access)', '__identifier__': 'basictypes.pythoninterfaces.IObjectDelItem', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.IObjectDelItem at 183fc10>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'IObjectDelItem', '_implied': {<InterfaceClass basictypes.pythoninterfaces.IObjectDelItem at 183fc10>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.IObjectDelItem at 183fc10>', ...}
__getattribute__ = <method-wrapper object at 0x0278D790>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278D910>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x0183FC10>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278DD50>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278D790>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A2FB10; to 'InterfaceClass' at 0183FC10 (IObjectDelItem)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x0183FC10>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x0183FC10>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x0183FC10>
Test whether a specification is or extends another

 
class IObjectEq(Interface)
    Object which can compute whether other is equal
 
XXX should have adapters both ways for eq and ne
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.IObjectEq'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.IObjectEq at 1a33cb0>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27319552>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278DDD0>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'__eq__': <zope.interface.interface.Method object at 0x0174E6F0>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Object which can compute whether other is equal\n\n\tXXX should have adapters both ways for eq and ne\n\t', '__identifier__': 'basictypes.pythoninterfaces.IObjectEq', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.IObjectEq at 1a33cb0>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'IObjectEq', '_implied': {<InterfaceClass basictypes.pythoninterfaces.IObjectEq at 1a33cb0>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.IObjectEq at 1a33cb0>', ...}
__getattribute__ = <method-wrapper object at 0x0278D810>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278DDD0>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A33CB0>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278D690>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278D810>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A2F060; to 'InterfaceClass' at 01A33CB0 (IObjectEq)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A33CB0>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A33CB0>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A33CB0>
Test whether a specification is or extends another

 
class IObjectGetItem(Interface)
    Object which retrieves a sub-item by key (random access)
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.IObjectGetItem'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.IObjectGetItem at 183fc30>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 25459168>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278D970>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'__getitem__': <zope.interface.interface.Method object at 0x0183FC50>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Object which retrieves a sub-item by key (random access)', '__identifier__': 'basictypes.pythoninterfaces.IObjectGetItem', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.IObjectGetItem at 183fc30>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'IObjectGetItem', '_implied': {<InterfaceClass basictypes.pythoninterfaces.IObjectGetItem at 183fc30>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.IObjectGetItem at 183fc30>', ...}
__getattribute__ = <method-wrapper object at 0x0278DBB0>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278D970>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x0183FC30>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278D630>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278DBB0>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A2F3F0; to 'InterfaceClass' at 0183FC30 (IObjectGetItem)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x0183FC30>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x0183FC30>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x0183FC30>
Test whether a specification is or extends another

 
class IObjectHash(Interface)
    Objects which can calculate a hash/key value
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.IObjectHash'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.IObjectHash at 1a33d90>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 25458768>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278D9D0>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'__hash__': <zope.interface.interface.Method object at 0x01A33DB0>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Objects which can calculate a hash/key value', '__identifier__': 'basictypes.pythoninterfaces.IObjectHash', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.IObjectHash at 1a33d90>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'IObjectHash', '_implied': {<InterfaceClass basictypes.pythoninterfaces.IObjectHash at 1a33d90>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.IObjectHash at 1a33d90>', ...}
__getattribute__ = <method-wrapper object at 0x0278D690>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278D9D0>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A33D90>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278D910>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278D690>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A37480; to 'InterfaceClass' at 01A33D90 (IObjectHash)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A33D90>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A33D90>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A33D90>
Test whether a specification is or extends another

 
class IObjectIter(Interface)
    Object which provides explicit iteration support
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.IObjectIter'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.IObjectIter at 1a33e10>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27319712>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278DA70>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'__iter__': <zope.interface.interface.Method object at 0x01A33E30>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Object which provides explicit iteration support', '__identifier__': 'basictypes.pythoninterfaces.IObjectIter', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.IObjectIter at 1a33e10>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'IObjectIter', '_implied': {<InterfaceClass basictypes.pythoninterfaces.IObjectIter at 1a33e10>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.IObjectIter at 1a33e10>', ...}
__getattribute__ = <method-wrapper object at 0x0278DBB0>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278DA70>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A33E10>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278DD50>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278DBB0>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A374E0; to 'InterfaceClass' at 01A33E10 (IObjectIter)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A33E10>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A33E10>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A33E10>
Test whether a specification is or extends another

 
class IObjectLength(Interface)
    Objects which can report a total length (number of sub-elements)
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.IObjectLength'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.IObjectLength at 184b930>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 25458888>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278D490>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'__len__': <zope.interface.interface.Method object at 0x01A33D10>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Objects which can report a total length (number of sub-elements)', '__identifier__': 'basictypes.pythoninterfaces.IObjectLength', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.IObjectLength at 184b930>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'IObjectLength', '_implied': {<InterfaceClass basictypes.pythoninterfaces.IObjectLength at 184b930>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.IObjectLength at 184b930>', ...}
__getattribute__ = <method-wrapper object at 0x0278D190>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278D490>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x0184B930>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278D970>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278D190>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A373C0; to 'InterfaceClass' at 0184B930 (IObjectLength)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x0184B930>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x0184B930>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x0184B930>
Test whether a specification is or extends another

 
class IObjectNe(Interface)
    Object which can compute whether other is not equal
 
XXX should have adapters both ways for eq and ne
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.IObjectNe'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.IObjectNe at 18331b0>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 24841392>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278D630>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'__ne__': <zope.interface.interface.Method object at 0x0183FCD0>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Object which can compute whether other is not eq...XX should have adapters both ways for eq and ne\n\t', '__identifier__': 'basictypes.pythoninterfaces.IObjectNe', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.IObjectNe at 18331b0>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'IObjectNe', '_implied': {<InterfaceClass basictypes.pythoninterfaces.IObjectNe at 18331b0>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.IObjectNe at 18331b0>', ...}
__getattribute__ = <method-wrapper object at 0x0278D790>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278D630>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x018331B0>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278D8F0>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278D790>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01844BD0; to 'InterfaceClass' at 018331B0 (IObjectNe)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x018331B0>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x018331B0>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x018331B0>
Test whether a specification is or extends another

 
class IObjectNonZero(Interface)
    Objects which can determine their Boolean truth value directly
 
XXX Should be an adapter for IObjectLength?
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.IObjectNonZero'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.IObjectNonZero at 184b350>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 25458528>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278D870>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'__nonzero__': <zope.interface.interface.Method object at 0x01A33D30>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Objects which can determine their Boolean truth ...y\n\n\tXXX Should be an adapter for IObjectLength?\n\t', '__identifier__': 'basictypes.pythoninterfaces.IObjectNonZero', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.IObjectNonZero at 184b350>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'IObjectNonZero', '_implied': {<InterfaceClass basictypes.pythoninterfaces.IObjectNonZero at 184b350>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.IObjectNonZero at 184b350>', ...}
__getattribute__ = <method-wrapper object at 0x0278D270>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278D870>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x0184B350>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278D590>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278D270>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A37420; to 'InterfaceClass' at 0184B350 (IObjectNonZero)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x0184B350>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x0184B350>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x0184B350>
Test whether a specification is or extends another

 
class IObjectPyDict(Interface)
    Object with a Python __dict__ attribute
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.IObjectPyDict'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.IObjectPyDict at 1a33bf0>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 26739216>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278D8B0>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'__dict__': <zope.interface.interface.Attribute object at 0x01A33C30>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Object with a Python __dict__ attribute\n\t', '__identifier__': 'basictypes.pythoninterfaces.IObjectPyDict', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.IObjectPyDict at 1a33bf0>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'IObjectPyDict', '_implied': {<InterfaceClass basictypes.pythoninterfaces.IObjectPyDict at 1a33bf0>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.IObjectPyDict at 1a33bf0>', ...}
__getattribute__ = <method-wrapper object at 0x0278D690>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278D8B0>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A33BF0>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278D770>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278D690>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A253C0; to 'InterfaceClass' at 01A33BF0 (IObjectPyDict)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A33BF0>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A33BF0>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A33BF0>
Test whether a specification is or extends another

 
class IObjectPyDoc(Interface)
    ### Python-object protocols
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.IObjectPyDoc'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.IObjectPyDoc at 1a33a90>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 26608824>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278D630>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'__doc__': <zope.interface.interface.Attribute object at 0x01A33A70>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': '', '__identifier__': 'basictypes.pythoninterfaces.IObjectPyDoc', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.IObjectPyDoc at 1a33a90>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'IObjectPyDoc', '_implied': {<InterfaceClass basictypes.pythoninterfaces.IObjectPyDoc at 1a33a90>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.IObjectPyDoc at 1a33a90>', ...}
__getattribute__ = <method-wrapper object at 0x0278D6B0>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278D630>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A33A90>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278D270>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278D6B0>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A11F90; to 'InterfaceClass' at 01A33A90 (IObjectPyDoc)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A33A90>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A33A90>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A33A90>
Test whether a specification is or extends another

 
class IObjectPyName(Interface)
    Object with a __name__ attribute
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.IObjectPyName'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.IObjectPyName at 17abc10>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 24838792>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278DED0>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'__name__': <zope.interface.interface.Attribute object at 0x0195F590>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Object with a __name__ attribute', '__identifier__': 'basictypes.pythoninterfaces.IObjectPyName', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.IObjectPyName at 17abc10>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'IObjectPyName', '_implied': {<InterfaceClass basictypes.pythoninterfaces.IObjectPyName at 17abc10>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.IObjectPyName at 17abc10>', ...}
__getattribute__ = <method-wrapper object at 0x0278DF50>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278DED0>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x017ABC10>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278DE90>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278DF50>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01844D50; to 'InterfaceClass' at 017ABC10 (IObjectPyName)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x017ABC10>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x017ABC10>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x017ABC10>
Test whether a specification is or extends another

 
class IObjectSetItem(Interface)
    Object which sets a sub-item by key (random access)
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.IObjectSetItem'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.IObjectSetItem at 183fd90>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 25459208>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278DCB0>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'__setitem__': <zope.interface.interface.Method object at 0x0183FD70>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Object which sets a sub-item by key (random access)', '__identifier__': 'basictypes.pythoninterfaces.IObjectSetItem', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.IObjectSetItem at 183fd90>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'IObjectSetItem', '_implied': {<InterfaceClass basictypes.pythoninterfaces.IObjectSetItem at 183fd90>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.IObjectSetItem at 183fd90>', ...}
__getattribute__ = <method-wrapper object at 0x0278DAB0>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278DCB0>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x0183FD90>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278D950>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278DAB0>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A2F8D0; to 'InterfaceClass' at 0183FD90 (IObjectSetItem)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x0183FD90>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x0183FD90>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x0183FD90>
Test whether a specification is or extends another

 
class IPickleGetInitArgs(Interface)
    Object which allows retrieval of "recreation" arguments
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.IPickleGetInitArgs'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.IPickleGetInitArgs at 1a33ff0>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27419032>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278DB90>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'__getinitargs__': <zope.interface.interface.Method object at 0x01A3F090>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Object which allows retrieval of "recreation" arguments', '__identifier__': 'basictypes.pythoninterfaces.IPickleGetInitArgs', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.IPickleGetInitArgs at 1a33ff0>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'IPickleGetInitArgs', '_implied': {<InterfaceClass basictypes.pythoninterfaces.IPickleGetInitArgs at 1a33ff0>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.IPickleGetInitArgs at 1a33ff0>', ...}
__getattribute__ = <method-wrapper object at 0x0278DE90>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278DB90>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A33FF0>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278DFF0>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278DE90>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A37660; to 'InterfaceClass' at 01A33FF0 (IPickleGetInitArgs)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A33FF0>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A33FF0>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A33FF0>
Test whether a specification is or extends another

 
class IPickleGetState(Interface)
    Object which allows retrieval of current state
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.IPickleGetState'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.IPickleGetState at 1a33f10>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27320192>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278D8D0>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'__getstate__': <zope.interface.interface.Method object at 0x01A33EF0>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Object which allows retrieval of current state', '__identifier__': 'basictypes.pythoninterfaces.IPickleGetState', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.IPickleGetState at 1a33f10>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'IPickleGetState', '_implied': {<InterfaceClass basictypes.pythoninterfaces.IPickleGetState at 1a33f10>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.IPickleGetState at 1a33f10>', ...}
__getattribute__ = <method-wrapper object at 0x0278D950>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278D8D0>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A33F10>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278DED0>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278D950>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A375A0; to 'InterfaceClass' at 01A33F10 (IPickleGetState)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A33F10>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A33F10>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A33F10>
Test whether a specification is or extends another

 
class IPickleSetState(Interface)
    Object which allows initialization from an archive of current state
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.IPickleSetState'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.IPickleSetState at 1a33f70>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27418752>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278DC50>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'__setstate__': <zope.interface.interface.Method object at 0x01A33F90>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Object which allows initialization from an archive of current state', '__identifier__': 'basictypes.pythoninterfaces.IPickleSetState', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.IPickleSetState at 1a33f70>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'IPickleSetState', '_implied': {<InterfaceClass basictypes.pythoninterfaces.IPickleSetState at 1a33f70>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.IPickleSetState at 1a33f70>', ...}
__getattribute__ = <method-wrapper object at 0x0278DF50>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278DC50>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A33F70>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278DFB0>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278DF50>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A37600; to 'InterfaceClass' at 01A33F70 (IPickleSetState)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A33F70>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A33F70>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A33F70>
Test whether a specification is or extends another

 
class IPickleable(Interface)
    Marker interface declaring that object is pickleable
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.IPickleable'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.IPickleable at 1a33e90>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27319952>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278DAB0>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Marker interface declaring that object is pickleable', '__identifier__': 'basictypes.pythoninterfaces.IPickleable', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.IPickleable at 1a33e90>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'IPickleable', '_implied': {<InterfaceClass basictypes.pythoninterfaces.IPickleable at 1a33e90>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.IPickleable at 1a33e90>', ...}
__getattribute__ = <method-wrapper object at 0x0278D950>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278DAB0>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A33E90>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278DF90>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278D950>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A37540; to 'InterfaceClass' at 01A33E90 (IPickleable)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A33E90>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A33E90>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A33E90>
Test whether a specification is or extends another

 
class ISequenceAppend(Interface)
    Sequence object to which items may be appended
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.ISequenceAppend'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.ISequenceAppend at 1a3f550>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27421472>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278DE50>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'append': <zope.interface.interface.Method object at 0x01A3F570>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Sequence object to which items may be appended', '__identifier__': 'basictypes.pythoninterfaces.ISequenceAppend', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.ISequenceAppend at 1a3f550>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'ISequenceAppend', '_implied': {<InterfaceClass basictypes.pythoninterfaces.ISequenceAppend at 1a3f550>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.ISequenceAppend at 1a3f550>', ...}
__getattribute__ = <method-wrapper object at 0x0278DC10>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278DE50>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A3F550>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278D8D0>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278DC10>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A37A50; to 'InterfaceClass' at 01A3F550 (ISequenceAppend)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A3F550>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A3F550>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A3F550>
Test whether a specification is or extends another

 
class ISequenceCount(Interface)
    Sequence object which can count instances of items
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.ISequenceCount'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.ISequenceCount at 1a3f5d0>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27421792>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278DCF0>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'count': <zope.interface.interface.Method object at 0x01A3F5F0>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Sequence object which can count instances of items', '__identifier__': 'basictypes.pythoninterfaces.ISequenceCount', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.ISequenceCount at 1a3f5d0>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'ISequenceCount', '_implied': {<InterfaceClass basictypes.pythoninterfaces.ISequenceCount at 1a3f5d0>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.ISequenceCount at 1a3f5d0>', ...}
__getattribute__ = <method-wrapper object at 0x0278DD90>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278DCF0>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A3F5D0>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278D950>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278DD90>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A37AB0; to 'InterfaceClass' at 01A3F5D0 (ISequenceCount)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A3F5D0>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A3F5D0>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A3F5D0>
Test whether a specification is or extends another

 
class ISequenceDelItem(Interface)
    Sequence version of get-item, integer keys
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.ISequenceDelItem'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.ISequenceDelItem at 1a3f350>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27420192>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278DF90>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'__delitem__': <zope.interface.interface.Method object at 0x01A3F370>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Sequence version of get-item, integer keys', '__identifier__': 'basictypes.pythoninterfaces.ISequenceDelItem', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.ISequenceDelItem at 1a3f350>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'ISequenceDelItem', '_implied': {<InterfaceClass basictypes.pythoninterfaces.ISequenceDelItem at 1a3f350>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.ISequenceDelItem at 1a3f350>', ...}
__getattribute__ = <method-wrapper object at 0x0278DFB0>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278DF90>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A3F350>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278DF70>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278DFB0>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A378D0; to 'InterfaceClass' at 01A3F350 (ISequenceDelItem)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A3F350>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A3F350>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A3F350>
Test whether a specification is or extends another

 
class ISequenceDelSlice(Interface)
    Sequence which can delete a "slice" of sub-objects by index
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.ISequenceDelSlice'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.ISequenceDelSlice at 1a3f4d0>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27421152>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278DB90>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'__delslice__': <zope.interface.interface.Method object at 0x01A3F4F0>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Sequence which can delete a "slice" of sub-objects by index', '__identifier__': 'basictypes.pythoninterfaces.ISequenceDelSlice', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.ISequenceDelSlice at 1a3f4d0>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'ISequenceDelSlice', '_implied': {<InterfaceClass basictypes.pythoninterfaces.ISequenceDelSlice at 1a3f4d0>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.ISequenceDelSlice at 1a3f4d0>', ...}
__getattribute__ = <method-wrapper object at 0x0278D4F0>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278DB90>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A3F4D0>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278D950>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278D4F0>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A379F0; to 'InterfaceClass' at 01A3F4D0 (ISequenceDelSlice)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A3F4D0>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A3F4D0>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A3F4D0>
Test whether a specification is or extends another

 
class ISequenceExtend(Interface)
    Sequence object which can be extended with another sequence
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.ISequenceExtend'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.ISequenceExtend at 1a3f650>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27422232>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278DAB0>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'extend': <zope.interface.interface.Method object at 0x01A3F670>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Sequence object which can be extended with another sequence', '__identifier__': 'basictypes.pythoninterfaces.ISequenceExtend', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.ISequenceExtend at 1a3f650>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'ISequenceExtend', '_implied': {<InterfaceClass basictypes.pythoninterfaces.ISequenceExtend at 1a3f650>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.ISequenceExtend at 1a3f650>', ...}
__getattribute__ = <method-wrapper object at 0x0278DED0>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278DAB0>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A3F650>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278DB90>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278DED0>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A37B10; to 'InterfaceClass' at 01A3F650 (ISequenceExtend)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A3F650>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A3F650>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A3F650>
Test whether a specification is or extends another

 
class ISequenceGetItem(Interface)
    Sequence version of get-item, integer keys
 
This is the "random access" integer key retrieval
interface, whereas the IIterator interface gives
the more limited sequential interface.
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.ISequenceGetItem'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.ISequenceGetItem at 1a3f250>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27419952>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278DFB0>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'__getitem__': <zope.interface.interface.Method object at 0x01A3F270>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Sequence version of get-item, integer keys\n\n\tThi...e gives\n\tthe more limited sequential interface.\n\t', '__identifier__': 'basictypes.pythoninterfaces.ISequenceGetItem', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.ISequenceGetItem at 1a3f250>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'ISequenceGetItem', '_implied': {<InterfaceClass basictypes.pythoninterfaces.ISequenceGetItem at 1a3f250>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.ISequenceGetItem at 1a3f250>', ...}
__getattribute__ = <method-wrapper object at 0x0278D8D0>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278DFB0>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A3F250>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278DD70>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278D8D0>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A37360; to 'InterfaceClass' at 01A3F250 (ISequenceGetItem)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A3F250>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A3F250>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A3F250>
Test whether a specification is or extends another

 
class ISequenceGetSlice(Interface)
    Sequence which can retrieve a "slice" of sub-objects by index
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.ISequenceGetSlice'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.ISequenceGetSlice at 1a3f3d0>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27420352>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278DF90>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'__getslice__': <zope.interface.interface.Method object at 0x01A3F3F0>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Sequence which can retrieve a "slice" of sub-objects by index', '__identifier__': 'basictypes.pythoninterfaces.ISequenceGetSlice', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.ISequenceGetSlice at 1a3f3d0>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'ISequenceGetSlice', '_implied': {<InterfaceClass basictypes.pythoninterfaces.ISequenceGetSlice at 1a3f3d0>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.ISequenceGetSlice at 1a3f3d0>', ...}
__getattribute__ = <method-wrapper object at 0x0278DC70>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278DF90>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A3F3D0>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278DFB0>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278DC70>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A37930; to 'InterfaceClass' at 01A3F3D0 (ISequenceGetSlice)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A3F3D0>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A3F3D0>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A3F3D0>
Test whether a specification is or extends another

 
class ISequenceIndex(Interface)
    Sequence object which can determine index of a sub-item
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.ISequenceIndex'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.ISequenceIndex at 1a3f6d0>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27422552>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278DBF0>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'index': <zope.interface.interface.Method object at 0x01A3F6F0>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Sequence object which can determine index of a sub-item', '__identifier__': 'basictypes.pythoninterfaces.ISequenceIndex', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.ISequenceIndex at 1a3f6d0>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'ISequenceIndex', '_implied': {<InterfaceClass basictypes.pythoninterfaces.ISequenceIndex at 1a3f6d0>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.ISequenceIndex at 1a3f6d0>', ...}
__getattribute__ = <method-wrapper object at 0x0278D8D0>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278DBF0>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A3F6D0>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278DF90>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278D8D0>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A37B70; to 'InterfaceClass' at 01A3F6D0 (ISequenceIndex)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A3F6D0>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A3F6D0>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A3F6D0>
Test whether a specification is or extends another

 
class ISequenceInsert(Interface)
    Sequence object which can insert item at a given index
 
XXX Should have adapters for ISequenceAppend and ISequenceExtend
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.ISequenceInsert'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.ISequenceInsert at 1a3f750>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27439312>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278D950>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'insert': <zope.interface.interface.Method object at 0x01A3F770>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Sequence object which can insert item at a given...dapters for ISequenceAppend and ISequenceExtend\n\t', '__identifier__': 'basictypes.pythoninterfaces.ISequenceInsert', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.ISequenceInsert at 1a3f750>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'ISequenceInsert', '_implied': {<InterfaceClass basictypes.pythoninterfaces.ISequenceInsert at 1a3f750>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.ISequenceInsert at 1a3f750>', ...}
__getattribute__ = <method-wrapper object at 0x0278DD70>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278D950>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A3F750>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278DF70>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278DD70>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A37BD0; to 'InterfaceClass' at 01A3F750 (ISequenceInsert)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A3F750>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A3F750>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A3F750>
Test whether a specification is or extends another

 
class ISequencePop(Interface)
    Sequence which can "pop" last item
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.ISequencePop'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.ISequencePop at 1a3f970>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27440832>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278DDB0>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'pop': <zope.interface.interface.Method object at 0x01A3F950>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Sequence which can "pop" last item', '__identifier__': 'basictypes.pythoninterfaces.ISequencePop', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.ISequencePop at 1a3f970>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'ISequencePop', '_implied': {<InterfaceClass basictypes.pythoninterfaces.ISequencePop at 1a3f970>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.ISequencePop at 1a3f970>', ...}
__getattribute__ = <method-wrapper object at 0x0278DFD0>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278DDB0>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A3F970>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278DC70>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278DFD0>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A37D50; to 'InterfaceClass' at 01A3F970 (ISequencePop)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A3F970>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A3F970>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A3F970>
Test whether a specification is or extends another

 
class ISequencePopAny(Interface)
    Sequence which can "pop" any item
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.ISequencePopAny'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.ISequencePopAny at 1a3f990>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27441232>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278DC70>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'pop': <zope.interface.interface.Method object at 0x01A3FA10>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Sequence which can "pop" any item', '__identifier__': 'basictypes.pythoninterfaces.ISequencePopAny', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.ISequencePopAny at 1a3f990>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'ISequencePopAny', '_implied': {<InterfaceClass basictypes.pythoninterfaces.ISequencePopAny at 1a3f990>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.ISequencePopAny at 1a3f990>', ...}
__getattribute__ = <method-wrapper object at 0x0278DFF0>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278DC70>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A3F990>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278DBF0>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278DFF0>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A37DB0; to 'InterfaceClass' at 01A3F990 (ISequencePopAny)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A3F990>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A3F990>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A3F990>
Test whether a specification is or extends another

 
class ISequenceRemove(Interface)
    Sequence object which can remove an instance of an item
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.ISequenceRemove'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.ISequenceRemove at 1a3f7d0>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27439632>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278DBF0>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'remove': <zope.interface.interface.Method object at 0x01A3F7F0>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Sequence object which can remove an instance of an item', '__identifier__': 'basictypes.pythoninterfaces.ISequenceRemove', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.ISequenceRemove at 1a3f7d0>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'ISequenceRemove', '_implied': {<InterfaceClass basictypes.pythoninterfaces.ISequenceRemove at 1a3f7d0>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.ISequenceRemove at 1a3f7d0>', ...}
__getattribute__ = <method-wrapper object at 0x0278DB30>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278DBF0>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A3F7D0>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278DFD0>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278DB30>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A37C30; to 'InterfaceClass' at 01A3F7D0 (ISequenceRemove)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A3F7D0>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A3F7D0>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A3F7D0>
Test whether a specification is or extends another

 
class ISequenceReverse(Interface)
    Sequence whose order can be reversed in-place
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.ISequenceReverse'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.ISequenceReverse at 1a3f850>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27439992>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278DF90>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'reverse': <zope.interface.interface.Method object at 0x01A3F870>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Sequence whose order can be reversed in-place', '__identifier__': 'basictypes.pythoninterfaces.ISequenceReverse', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.ISequenceReverse at 1a3f850>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'ISequenceReverse', '_implied': {<InterfaceClass basictypes.pythoninterfaces.ISequenceReverse at 1a3f850>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.ISequenceReverse at 1a3f850>', ...}
__getattribute__ = <method-wrapper object at 0x0278DD10>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278DF90>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A3F850>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278DBF0>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278DD10>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A37C90; to 'InterfaceClass' at 01A3F850 (ISequenceReverse)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A3F850>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A3F850>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A3F850>
Test whether a specification is or extends another

 
class ISequenceSetItem(Interface)
    Sequence version of set-item, integer keys
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.ISequenceSetItem'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.ISequenceSetItem at 1a3f2d0>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27420032>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278DDB0>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'__setitem__': <zope.interface.interface.Method object at 0x01A3F2F0>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Sequence version of set-item, integer keys', '__identifier__': 'basictypes.pythoninterfaces.ISequenceSetItem', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.ISequenceSetItem at 1a3f2d0>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'ISequenceSetItem', '_implied': {<InterfaceClass basictypes.pythoninterfaces.ISequenceSetItem at 1a3f2d0>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.ISequenceSetItem at 1a3f2d0>', ...}
__getattribute__ = <method-wrapper object at 0x0278DF70>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278DDB0>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A3F2D0>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278DFD0>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278DF70>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A37870; to 'InterfaceClass' at 01A3F2D0 (ISequenceSetItem)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A3F2D0>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A3F2D0>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A3F2D0>
Test whether a specification is or extends another

 
class ISequenceSetSlice(Interface)
    Sequence which can set a "slice" of sub-objects by index
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.ISequenceSetSlice'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.ISequenceSetSlice at 1a3f450>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27420752>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278DD10>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'__setslice__': <zope.interface.interface.Method object at 0x01A3F470>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Sequence which can set a "slice" of sub-objects by index', '__identifier__': 'basictypes.pythoninterfaces.ISequenceSetSlice', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.ISequenceSetSlice at 1a3f450>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'ISequenceSetSlice', '_implied': {<InterfaceClass basictypes.pythoninterfaces.ISequenceSetSlice at 1a3f450>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.ISequenceSetSlice at 1a3f450>', ...}
__getattribute__ = <method-wrapper object at 0x0278DF30>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278DD10>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A3F450>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278DBF0>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278DF30>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A37990; to 'InterfaceClass' at 01A3F450 (ISequenceSetSlice)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A3F450>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A3F450>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A3F450>
Test whether a specification is or extends another

 
class ISequenceSort(Interface)
    Sequence whose order can be sorted in-place
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.ISequenceSort'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.ISequenceSort at 1a3f890>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27440432>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278DC70>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'sort': <zope.interface.interface.Method object at 0x01A3F910>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Sequence whose order can be sorted in-place', '__identifier__': 'basictypes.pythoninterfaces.ISequenceSort', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.ISequenceSort at 1a3f890>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'ISequenceSort', '_implied': {<InterfaceClass basictypes.pythoninterfaces.ISequenceSort at 1a3f890>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.ISequenceSort at 1a3f890>', ...}
__getattribute__ = <method-wrapper object at 0x0278DB90>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278DC70>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A3F890>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278DD10>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278DB90>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A37CF0; to 'InterfaceClass' at 01A3F890 (ISequenceSort)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A3F890>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A3F890>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A3F890>
Test whether a specification is or extends another

 
class IStreamClose(Interface)
    Stream providing a close method to release resources
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.IStreamClose'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.IStreamClose at 1a69450>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27477776>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278DF70>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'close': <zope.interface.interface.Method object at 0x01A694D0>, 'closed': <zope.interface.interface.Attribute object at 0x01A69490>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Stream providing a close method to release resources', '__identifier__': 'basictypes.pythoninterfaces.IStreamClose', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.IStreamClose at 1a69450>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'IStreamClose', '_implied': {<InterfaceClass basictypes.pythoninterfaces.IStreamClose at 1a69450>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.IStreamClose at 1a69450>', ...}
__getattribute__ = <method-wrapper object at 0x0278DC90>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278DF70>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A69450>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278DE50>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278DC90>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A6C0F0; to 'InterfaceClass' at 01A69450 (IStreamClose)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A69450>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A69450>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A69450>
Test whether a specification is or extends another

 
class IStreamFlush(Interface)
    Stream providing a flush method to flush internal buffers
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.IStreamFlush'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.IStreamFlush at 1a69530>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27477856>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278DE90>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'flush': <zope.interface.interface.Method object at 0x01A69550>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Stream providing a flush method to flush internal buffers', '__identifier__': 'basictypes.pythoninterfaces.IStreamFlush', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.IStreamFlush at 1a69530>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'IStreamFlush', '_implied': {<InterfaceClass basictypes.pythoninterfaces.IStreamFlush at 1a69530>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.IStreamFlush at 1a69530>', ...}
__getattribute__ = <method-wrapper object at 0x0278DB90>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278DE90>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A69530>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278DD10>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278DB90>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A6C150; to 'InterfaceClass' at 01A69530 (IStreamFlush)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A69530>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A69530>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A69530>
Test whether a specification is or extends another

 
class IStreamIsTTY(Interface)
    Stream allowing query for whether it is a TTY-like device
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.IStreamIsTTY'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.IStreamIsTTY at 1a695b0>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27717680>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278DBF0>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'isatty': <zope.interface.interface.Method object at 0x01A695D0>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Stream allowing query for whether it is a TTY-like device', '__identifier__': 'basictypes.pythoninterfaces.IStreamIsTTY', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.IStreamIsTTY at 1a695b0>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'IStreamIsTTY', '_implied': {<InterfaceClass basictypes.pythoninterfaces.IStreamIsTTY at 1a695b0>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.IStreamIsTTY at 1a695b0>', ...}
__getattribute__ = <method-wrapper object at 0x0278DEF0>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278DBF0>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A695B0>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278DC70>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278DEF0>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A6C1B0; to 'InterfaceClass' at 01A695B0 (IStreamIsTTY)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A695B0>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A695B0>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A695B0>
Test whether a specification is or extends another

 
class IStreamMode(Interface)
    Stream having a mode attribute
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.IStreamMode'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.IStreamMode at 1a69a90>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27718480>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278DE50>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'mode': <zope.interface.interface.Attribute object at 0x01A69AD0>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Stream having a mode attribute', '__identifier__': 'basictypes.pythoninterfaces.IStreamMode', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.IStreamMode at 1a69a90>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'IStreamMode', '_implied': {<InterfaceClass basictypes.pythoninterfaces.IStreamMode at 1a69a90>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.IStreamMode at 1a69a90>', ...}
__getattribute__ = <method-wrapper object at 0x0278DFF0>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278DE50>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A69A90>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278DBF0>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278DFF0>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A6C570; to 'InterfaceClass' at 01A69A90 (IStreamMode)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A69A90>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A69A90>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A69A90>
Test whether a specification is or extends another

 
class IStreamName(Interface)
    Stream having a name attribute
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.IStreamName'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.IStreamName at 1a69b10>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27718560>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278DB30>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'name': <zope.interface.interface.Attribute object at 0x01A69B50>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Stream having a name attribute', '__identifier__': 'basictypes.pythoninterfaces.IStreamName', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.IStreamName at 1a69b10>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'IStreamName', '_implied': {<InterfaceClass basictypes.pythoninterfaces.IStreamName at 1a69b10>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.IStreamName at 1a69b10>', ...}
__getattribute__ = <method-wrapper object at 0x0278DEF0>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278DB30>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A69B10>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278DD10>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278DEF0>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A6C5D0; to 'InterfaceClass' at 01A69B10 (IStreamName)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A69B10>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A69B10>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A69B10>
Test whether a specification is or extends another

 
class IStreamRead(Interface)
    Stream providing basic read method
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.IStreamRead'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.IStreamRead at 1a695f0>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27717760>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278DC70>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'read': <zope.interface.interface.Method object at 0x01A69670>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Stream providing basic read method', '__identifier__': 'basictypes.pythoninterfaces.IStreamRead', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.IStreamRead at 1a695f0>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'IStreamRead', '_implied': {<InterfaceClass basictypes.pythoninterfaces.IStreamRead at 1a695f0>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.IStreamRead at 1a695f0>', ...}
__getattribute__ = <method-wrapper object at 0x0278DE90>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278DC70>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A695F0>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278DFF0>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278DE90>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A6C210; to 'InterfaceClass' at 01A695F0 (IStreamRead)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A695F0>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A695F0>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A695F0>
Test whether a specification is or extends another

 
class IStreamReadLine(Interface)
    Stream providing line-reading method
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.IStreamReadLine'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.IStreamReadLine at 1a696f0>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27717920>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278D2B0>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'readline': <zope.interface.interface.Method object at 0x01A69770>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Stream providing line-reading method', '__identifier__': 'basictypes.pythoninterfaces.IStreamReadLine', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.IStreamReadLine at 1a696f0>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'IStreamReadLine', '_implied': {<InterfaceClass basictypes.pythoninterfaces.IStreamReadLine at 1a696f0>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.IStreamReadLine at 1a696f0>', ...}
__getattribute__ = <method-wrapper object at 0x0278DF50>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278D2B0>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A696F0>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278DEF0>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278DF50>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A6C2D0; to 'InterfaceClass' at 01A696F0 (IStreamReadLine)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A696F0>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A696F0>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A696F0>
Test whether a specification is or extends another

 
class IStreamReadLines(Interface)
    Stream providing multiple-line-reading method
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.IStreamReadLines'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.IStreamReadLines at 1a697d0>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27718000>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278DF70>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'readlines': <zope.interface.interface.Method object at 0x01A697F0>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Stream providing multiple-line-reading method', '__identifier__': 'basictypes.pythoninterfaces.IStreamReadLines', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.IStreamReadLines at 1a697d0>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'IStreamReadLines', '_implied': {<InterfaceClass basictypes.pythoninterfaces.IStreamReadLines at 1a697d0>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.IStreamReadLines at 1a697d0>', ...}
__getattribute__ = <method-wrapper object at 0x0278DFF0>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278DF70>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A697D0>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278DFD0>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278DFF0>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A6C330; to 'InterfaceClass' at 01A697D0 (IStreamReadLines)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A697D0>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A697D0>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A697D0>
Test whether a specification is or extends another

 
class IStreamSeek(Interface)
    Stream providing random-access seeking to position
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.IStreamSeek'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.IStreamSeek at 1a69930>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27718240>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278D2B0>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'seek': <zope.interface.interface.Method object at 0x01A69950>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Stream providing random-access seeking to position', '__identifier__': 'basictypes.pythoninterfaces.IStreamSeek', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.IStreamSeek at 1a69930>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'IStreamSeek', '_implied': {<InterfaceClass basictypes.pythoninterfaces.IStreamSeek at 1a69930>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.IStreamSeek at 1a69930>', ...}
__getattribute__ = <method-wrapper object at 0x0278DEF0>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278D2B0>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A69930>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278DFB0>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278DEF0>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A6C450; to 'InterfaceClass' at 01A69930 (IStreamSeek)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A69930>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A69930>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A69930>
Test whether a specification is or extends another

 
class IStreamTell(Interface)
    Stream providing feedback regarding current position
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.IStreamTell'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.IStreamTell at 1a699b0>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27718320>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278DFD0>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'tell': <zope.interface.interface.Method object at 0x01A699D0>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Stream providing feedback regarding current position', '__identifier__': 'basictypes.pythoninterfaces.IStreamTell', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.IStreamTell at 1a699b0>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'IStreamTell', '_implied': {<InterfaceClass basictypes.pythoninterfaces.IStreamTell at 1a699b0>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.IStreamTell at 1a699b0>', ...}
__getattribute__ = <method-wrapper object at 0x0278DE90>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278DFD0>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A699B0>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278DFF0>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278DE90>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A6C4B0; to 'InterfaceClass' at 01A699B0 (IStreamTell)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A699B0>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A699B0>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A699B0>
Test whether a specification is or extends another

 
class IStreamTruncate(Interface)
    Stream providing feedback regarding current position
 
XXX Documentation seems to suggest that this interface requires
        IStreamTell, though only in cases where size is not specified
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.IStreamTruncate'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.IStreamTruncate at 1a699f0>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27718400>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278DC50>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'truncate': <zope.interface.interface.Method object at 0x01A69A70>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Stream providing feedback regarding current posi...hough only in cases where size is not specified\n\t', '__identifier__': 'basictypes.pythoninterfaces.IStreamTruncate', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.IStreamTruncate at 1a699f0>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'IStreamTruncate', '_implied': {<InterfaceClass basictypes.pythoninterfaces.IStreamTruncate at 1a699f0>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.IStreamTruncate at 1a699f0>', ...}
__getattribute__ = <method-wrapper object at 0x0278DF50>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278DC50>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A699F0>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278DBF0>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278DF50>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A6C510; to 'InterfaceClass' at 01A699F0 (IStreamTruncate)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A699F0>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A699F0>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A699F0>
Test whether a specification is or extends another

 
class IStreamWrite(Interface)
    Stream providing basic write method
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.IStreamWrite'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.IStreamWrite at 1a696d0>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27717840>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x02749F10>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'write': <zope.interface.interface.Method object at 0x01A696B0>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Stream providing basic write method', '__identifier__': 'basictypes.pythoninterfaces.IStreamWrite', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.IStreamWrite at 1a696d0>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'IStreamWrite', '_implied': {<InterfaceClass basictypes.pythoninterfaces.IStreamWrite at 1a696d0>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.IStreamWrite at 1a696d0>', ...}
__getattribute__ = <method-wrapper object at 0x02749E70>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x02749F10>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A696D0>
helper for pickle
__setattr__ = <method-wrapper object at 0x02749B90>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x02749E70>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A6C270; to 'InterfaceClass' at 01A696D0 (IStreamWrite)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A696D0>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A696D0>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A696D0>
Test whether a specification is or extends another

 
class IStreamWriteLines(Interface)
    Stream providing multiple-line-writing method
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.IStreamWriteLines'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.IStreamWriteLines at 1a698d0>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27718160>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278DDB0>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'writelines': <zope.interface.interface.Method object at 0x01A698B0>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Stream providing multiple-line-writing method', '__identifier__': 'basictypes.pythoninterfaces.IStreamWriteLines', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.IStreamWriteLines at 1a698d0>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'IStreamWriteLines', '_implied': {<InterfaceClass basictypes.pythoninterfaces.IStreamWriteLines at 1a698d0>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.IStreamWriteLines at 1a698d0>', ...}
__getattribute__ = <method-wrapper object at 0x0278DF90>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278DDB0>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A698D0>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278DD30>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278DF90>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A6C3F0; to 'InterfaceClass' at 01A698D0 (IStreamWriteLines)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A698D0>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A698D0>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A698D0>
Test whether a specification is or extends another

 
class IStreamXReadLines(Interface)
    Stream providing optimized multiple-line-reading method
 
XXX This probably shouldn't be an interface unto itself,
        or at least it should be a child of IStreamReadLines
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.IStreamXReadLines'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.IStreamXReadLines at 1a69850>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27718080>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278DE90>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'xreadlines': <zope.interface.interface.Method object at 0x01A69870>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Stream providing optimized multiple-line-reading... least it should be a child of IStreamReadLines\n\t', '__identifier__': 'basictypes.pythoninterfaces.IStreamXReadLines', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.IStreamXReadLines at 1a69850>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'IStreamXReadLines', '_implied': {<InterfaceClass basictypes.pythoninterfaces.IStreamXReadLines at 1a69850>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.IStreamXReadLines at 1a69850>', ...}
__getattribute__ = <method-wrapper object at 0x0278D730>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278DE90>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A69850>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278DD10>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278D730>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A6C390; to 'InterfaceClass' at 01A69850 (IStreamXReadLines)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A69850>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A69850>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A69850>
Test whether a specification is or extends another

 
class IStringIOGetValue(Interface)
    Provides access to current value of StringIO buffer
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.IStringIOGetValue'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.IStringIOGetValue at 1a69bd0>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27718640>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x02749D50>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'getvalue': <zope.interface.interface.Method object at 0x01A69BB0>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Provides access to current value of StringIO buffer', '__identifier__': 'basictypes.pythoninterfaces.IStringIOGetValue', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.IStringIOGetValue at 1a69bd0>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'IStringIOGetValue', '_implied': {<InterfaceClass basictypes.pythoninterfaces.IStringIOGetValue at 1a69bd0>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.IStringIOGetValue at 1a69bd0>', ...}
__getattribute__ = <method-wrapper object at 0x027493B0>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x02749D50>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A69BD0>
helper for pickle
__setattr__ = <method-wrapper object at 0x02749EB0>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x027493B0>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A6C630; to 'InterfaceClass' at 01A69BD0 (IStringIOGetValue)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A69BD0>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A69BD0>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A69BD0>
Test whether a specification is or extends another

 
class ITextCapitalize(Interface)
    Text which can generate word-capitalized copies
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.ITextCapitalize'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.ITextCapitalize at 1a3fd30>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27460272>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278DFD0>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'capitalize': <zope.interface.interface.Method object at 0x01A3FD10>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Text which can generate word-capitalized copies', '__identifier__': 'basictypes.pythoninterfaces.ITextCapitalize', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.ITextCapitalize at 1a3fd30>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'ITextCapitalize', '_implied': {<InterfaceClass basictypes.pythoninterfaces.ITextCapitalize at 1a3fd30>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.ITextCapitalize at 1a3fd30>', ...}
__getattribute__ = <method-wrapper object at 0x0278DCF0>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278DFD0>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A3FD30>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278D950>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278DCF0>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A48030; to 'InterfaceClass' at 01A3FD30 (ITextCapitalize)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A3FD30>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A3FD30>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A3FD30>
Test whether a specification is or extends another

 
class ITextCaseLower(Interface)
    Text which can generate lower case copies
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.ITextCaseLower'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.ITextCaseLower at 1a4b150>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27463392>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278DD90>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'lower': <zope.interface.interface.Method object at 0x01A4B170>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Text which can generate lower case copies', '__identifier__': 'basictypes.pythoninterfaces.ITextCaseLower', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.ITextCaseLower at 1a4b150>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'ITextCaseLower', '_implied': {<InterfaceClass basictypes.pythoninterfaces.ITextCaseLower at 1a4b150>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.ITextCaseLower at 1a4b150>', ...}
__getattribute__ = <method-wrapper object at 0x0278DAD0>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278DD90>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A4B150>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278D490>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278DAD0>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A48330; to 'InterfaceClass' at 01A4B150 (ITextCaseLower)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A4B150>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A4B150>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A4B150>
Test whether a specification is or extends another

 
class ITextCaseSwap(Interface)
    Text which can generate case-swapped copies
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.ITextCaseSwap'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.ITextCaseSwap at 1a4b1d0>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27485648>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278DC50>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'swapcase': <zope.interface.interface.Method object at 0x01A4B1F0>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Text which can generate case-swapped copies', '__identifier__': 'basictypes.pythoninterfaces.ITextCaseSwap', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.ITextCaseSwap at 1a4b1d0>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'ITextCaseSwap', '_implied': {<InterfaceClass basictypes.pythoninterfaces.ITextCaseSwap at 1a4b1d0>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.ITextCaseSwap at 1a4b1d0>', ...}
__getattribute__ = <method-wrapper object at 0x0278DF50>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278DC50>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A4B1D0>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278DCF0>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278DF50>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A48390; to 'InterfaceClass' at 01A4B1D0 (ITextCaseSwap)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A4B1D0>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A4B1D0>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A4B1D0>
Test whether a specification is or extends another

 
class ITextCaseTitle(Interface)
    Text which can generate title-cased copies
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.ITextCaseTitle'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.ITextCaseTitle at 1a4b250>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27485728>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278D2B0>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'title': <zope.interface.interface.Method object at 0x01A4B270>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Text which can generate title-cased copies', '__identifier__': 'basictypes.pythoninterfaces.ITextCaseTitle', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.ITextCaseTitle at 1a4b250>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'ITextCaseTitle', '_implied': {<InterfaceClass basictypes.pythoninterfaces.ITextCaseTitle at 1a4b250>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.ITextCaseTitle at 1a4b250>', ...}
__getattribute__ = <method-wrapper object at 0x0278DBF0>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278D2B0>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A4B250>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278D490>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278DBF0>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A483F0; to 'InterfaceClass' at 01A4B250 (ITextCaseTitle)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A4B250>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A4B250>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A4B250>
Test whether a specification is or extends another

 
class ITextCaseUpper(Interface)
    Text which can generate upper case copies
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.ITextCaseUpper'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.ITextCaseUpper at 1a4b0f0>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27463032>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278DFF0>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'upper': <zope.interface.interface.Method object at 0x01A4B0D0>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Text which can generate upper case copies', '__identifier__': 'basictypes.pythoninterfaces.ITextCaseUpper', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.ITextCaseUpper at 1a4b0f0>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'ITextCaseUpper', '_implied': {<InterfaceClass basictypes.pythoninterfaces.ITextCaseUpper at 1a4b0f0>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.ITextCaseUpper at 1a4b0f0>', ...}
__getattribute__ = <method-wrapper object at 0x0278DFD0>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278DFF0>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A4B0F0>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278DF50>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278DFD0>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A482D0; to 'InterfaceClass' at 01A4B0F0 (ITextCaseUpper)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A4B0F0>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A4B0F0>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A4B0F0>
Test whether a specification is or extends another

 
class ITextCenterAlign(Interface)
    Text which can generate center-aligned copy of a given width
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.ITextCenterAlign'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.ITextCenterAlign at 1a3fd90>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27460712>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278DDB0>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'center': <zope.interface.interface.Method object at 0x01A3FDB0>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Text which can generate center-aligned copy of a given width', '__identifier__': 'basictypes.pythoninterfaces.ITextCenterAlign', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.ITextCenterAlign at 1a3fd90>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'ITextCenterAlign', '_implied': {<InterfaceClass basictypes.pythoninterfaces.ITextCenterAlign at 1a3fd90>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.ITextCenterAlign at 1a3fd90>', ...}
__getattribute__ = <method-wrapper object at 0x0278D8D0>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278DDB0>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A3FD90>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278DBF0>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278D8D0>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A48090; to 'InterfaceClass' at 01A3FD90 (ITextCenterAlign)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A3FD90>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A3FD90>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A3FD90>
Test whether a specification is or extends another

 
class ITextCount(ISequenceCount)
    Text which can count substring occurrences in a given range
 
 
Method resolution order:
ITextCount
ISequenceCount
Interface

Data and other attributes defined here:
__bases__ = (<InterfaceClass basictypes.pythoninterfaces.ISequenceCount at 1a3f5d0>,)
__identifier__ = 'basictypes.pythoninterfaces.ITextCount'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.ITextCount at 1a4b630>, <InterfaceClass basictypes.pythoninterfaces.ISequenceCount at 1a3f5d0>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27486408>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278DBF0>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'count': <zope.interface.interface.Method object at 0x01A4B6B0>}, '__bases__': (<InterfaceClass basictypes.pythoninterfaces.ISequenceCount at 1a3f5d0>,), '__doc__': 'Text which can count substring occurrences in a given range', '__identifier__': 'basictypes.pythoninterfaces.ITextCount', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.ITextCount at 1a4b630>, <InterfaceClass basictypes.pythoninterfaces.ISequenceCount at 1a3f5d0>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'ITextCount', '_implied': {<InterfaceClass basictypes.pythoninterfaces.ISequenceCount at 1a3f5d0>: (), <InterfaceClass basictypes.pythoninterfaces.ITextCount at 1a4b630>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.ITextCount at 1a4b630>', ...}
__getattribute__ = <method-wrapper object at 0x0278DED0>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278DBF0>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A4B630>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278DDB0>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278DED0>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A486F0; to 'InterfaceClass' at 01A4B630 (ITextCount)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A4B630>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A4B630>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A4B630>
Test whether a specification is or extends another

 
class ITextDecode(Interface)
    Text which can be decoded using a particular codec
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.ITextDecode'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.ITextDecode at 1a4b470>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27486048>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278D730>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'decode': <zope.interface.interface.Method object at 0x01A4B450>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Text which can be decoded using a particular codec', '__identifier__': 'basictypes.pythoninterfaces.ITextDecode', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.ITextDecode at 1a4b470>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'ITextDecode', '_implied': {<InterfaceClass basictypes.pythoninterfaces.ITextDecode at 1a4b470>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.ITextDecode at 1a4b470>', ...}
__getattribute__ = <method-wrapper object at 0x0278DFF0>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278D730>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A4B470>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278D8D0>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278DFF0>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A48570; to 'InterfaceClass' at 01A4B470 (ITextDecode)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A4B470>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A4B470>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A4B470>
Test whether a specification is or extends another

 
class ITextEncode(Interface)
    Text which can be encoded using a particular codec
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.ITextEncode'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.ITextEncode at 1a4b4d0>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27486168>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278DD70>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'encode': <zope.interface.interface.Method object at 0x01A4B4F0>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Text which can be encoded using a particular codec', '__identifier__': 'basictypes.pythoninterfaces.ITextEncode', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.ITextEncode at 1a4b4d0>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'ITextEncode', '_implied': {<InterfaceClass basictypes.pythoninterfaces.ITextEncode at 1a4b4d0>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.ITextEncode at 1a4b4d0>', ...}
__getattribute__ = <method-wrapper object at 0x0278DCB0>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278DD70>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A4B4D0>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278DED0>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278DCB0>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A485D0; to 'InterfaceClass' at 01A4B4D0 (ITextEncode)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A4B4D0>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A4B4D0>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A4B4D0>
Test whether a specification is or extends another

 
class ITextEndsWith(Interface)
    Text which can determine whether it ends with a particular sub-string
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.ITextEndsWith'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.ITextEndsWith at 1a4b590>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27486328>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278DF90>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'endswith': <zope.interface.interface.Method object at 0x01A4B610>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Text which can determine whether it ends with a particular sub-string', '__identifier__': 'basictypes.pythoninterfaces.ITextEndsWith', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.ITextEndsWith at 1a4b590>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'ITextEndsWith', '_implied': {<InterfaceClass basictypes.pythoninterfaces.ITextEndsWith at 1a4b590>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.ITextEndsWith at 1a4b590>', ...}
__getattribute__ = <method-wrapper object at 0x0278D490>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278DF90>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A4B590>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278DDB0>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278D490>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A48690; to 'InterfaceClass' at 01A4B590 (ITextEndsWith)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A4B590>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A4B590>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A4B590>
Test whether a specification is or extends another

 
class ITextExpandTabs(Interface)
    Text which can generate tab-expanded copies
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.ITextExpandTabs'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.ITextExpandTabs at 1a3fff0>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27462712>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278DDF0>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'expandtabs': <zope.interface.interface.Method object at 0x01A4B090>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Text which can generate tab-expanded copies', '__identifier__': 'basictypes.pythoninterfaces.ITextExpandTabs', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.ITextExpandTabs at 1a3fff0>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'ITextExpandTabs', '_implied': {<InterfaceClass basictypes.pythoninterfaces.ITextExpandTabs at 1a3fff0>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.ITextExpandTabs at 1a3fff0>', ...}
__getattribute__ = <method-wrapper object at 0x0278D950>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278DDF0>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A3FFF0>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278D2B0>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278D950>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A48270; to 'InterfaceClass' at 01A3FFF0 (ITextExpandTabs)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A3FFF0>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A3FFF0>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A3FFF0>
Test whether a specification is or extends another

 
class ITextFind(Interface)
    Text which can find start of contained sub-strings
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.ITextFind'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.ITextFind at 1a4b6d0>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27486528>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278DDB0>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'find': <zope.interface.interface.Method object at 0x01A4B750>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Text which can find start of contained sub-strings', '__identifier__': 'basictypes.pythoninterfaces.ITextFind', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.ITextFind at 1a4b6d0>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'ITextFind', '_implied': {<InterfaceClass basictypes.pythoninterfaces.ITextFind at 1a4b6d0>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.ITextFind at 1a4b6d0>', ...}
__getattribute__ = <method-wrapper object at 0x0278D490>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278DDB0>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A4B6D0>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278DD70>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278D490>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A48750; to 'InterfaceClass' at 01A4B6D0 (ITextFind)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A4B6D0>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A4B6D0>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A4B6D0>
Test whether a specification is or extends another

 
class ITextFindRight(Interface)
    Text which can find start of contained sub-strings from end of text
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.ITextFindRight'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.ITextFindRight at 1a4b810>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27486688>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278DFF0>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'rfind': <zope.interface.interface.Method object at 0x01A4B890>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Text which can find start of contained sub-strings from end of text', '__identifier__': 'basictypes.pythoninterfaces.ITextFindRight', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.ITextFindRight at 1a4b810>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'ITextFindRight', '_implied': {<InterfaceClass basictypes.pythoninterfaces.ITextFindRight at 1a4b810>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.ITextFindRight at 1a4b810>', ...}
__getattribute__ = <method-wrapper object at 0x0278DB30>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278DFF0>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A4B810>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278D950>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278DB30>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A48810; to 'InterfaceClass' at 01A4B810 (ITextFindRight)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A4B810>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A4B810>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A4B810>
Test whether a specification is or extends another

 
class ITextIndex(ISequenceIndex)
    Text providing sequence-style index method with extra arguments
 
 
Method resolution order:
ITextIndex
ISequenceIndex
Interface

Data and other attributes defined here:
__bases__ = (<InterfaceClass basictypes.pythoninterfaces.ISequenceIndex at 1a3f6d0>,)
__identifier__ = 'basictypes.pythoninterfaces.ITextIndex'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.ITextIndex at 1a4b770>, <InterfaceClass basictypes.pythoninterfaces.ISequenceIndex at 1a3f6d0>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27486568>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278D950>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'index': <zope.interface.interface.Method object at 0x01A4B7F0>}, '__bases__': (<InterfaceClass basictypes.pythoninterfaces.ISequenceIndex at 1a3f6d0>,), '__doc__': 'Text providing sequence-style index method with extra arguments', '__identifier__': 'basictypes.pythoninterfaces.ITextIndex', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.ITextIndex at 1a4b770>, <InterfaceClass basictypes.pythoninterfaces.ISequenceIndex at 1a3f6d0>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'ITextIndex', '_implied': {<InterfaceClass basictypes.pythoninterfaces.ISequenceIndex at 1a3f6d0>: (), <InterfaceClass basictypes.pythoninterfaces.ITextIndex at 1a4b770>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.ITextIndex at 1a4b770>', ...}
__getattribute__ = <method-wrapper object at 0x0278DFD0>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278D950>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A4B770>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278DFF0>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278DFD0>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A487B0; to 'InterfaceClass' at 01A4B770 (ITextIndex)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A4B770>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A4B770>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A4B770>
Test whether a specification is or extends another

 
class ITextIndexRight(ISequenceIndex)
    Text which can find start of contained sub-strings from end of text, sequence style
 
 
Method resolution order:
ITextIndexRight
ISequenceIndex
Interface

Data and other attributes defined here:
__bases__ = (<InterfaceClass basictypes.pythoninterfaces.ISequenceIndex at 1a3f6d0>,)
__identifier__ = 'basictypes.pythoninterfaces.ITextIndexRight'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.ITextIndexRight at 1a4b8b0>, <InterfaceClass basictypes.pythoninterfaces.ISequenceIndex at 1a3f6d0>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27486728>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278D4F0>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'rindex': <zope.interface.interface.Method object at 0x01A4B930>}, '__bases__': (<InterfaceClass basictypes.pythoninterfaces.ISequenceIndex at 1a3f6d0>,), '__doc__': 'Text which can find start of contained sub-strings from end of text, sequence style', '__identifier__': 'basictypes.pythoninterfaces.ITextIndexRight', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.ITextIndexRight at 1a4b8b0>, <InterfaceClass basictypes.pythoninterfaces.ISequenceIndex at 1a3f6d0>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'ITextIndexRight', '_implied': {<InterfaceClass basictypes.pythoninterfaces.ISequenceIndex at 1a3f6d0>: (), <InterfaceClass basictypes.pythoninterfaces.ITextIndexRight at 1a4b8b0>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.ITextIndexRight at 1a4b8b0>', ...}
__getattribute__ = <method-wrapper object at 0x0278DB30>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278D4F0>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A4B8B0>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278DD70>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278DB30>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A48870; to 'InterfaceClass' at 01A4B8B0 (ITextIndexRight)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A4B8B0>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A4B8B0>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A4B8B0>
Test whether a specification is or extends another

 
class ITextIsAlpha(Interface)
    Text providing test whether the text is all-alphabetic (and non-null)
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.ITextIsAlpha'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.ITextIsAlpha at 1a4ba30>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27486888>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278DC90>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'isalpha': <zope.interface.interface.Method object at 0x01A4BA50>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Text providing test whether the text is all-alphabetic (and non-null)', '__identifier__': 'basictypes.pythoninterfaces.ITextIsAlpha', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.ITextIsAlpha at 1a4ba30>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'ITextIsAlpha', '_implied': {<InterfaceClass basictypes.pythoninterfaces.ITextIsAlpha at 1a4ba30>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.ITextIsAlpha at 1a4ba30>', ...}
__getattribute__ = <method-wrapper object at 0x0278DFB0>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278DC90>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A4BA30>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278D4F0>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278DFB0>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A48930; to 'InterfaceClass' at 01A4BA30 (ITextIsAlpha)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A4BA30>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A4BA30>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A4BA30>
Test whether a specification is or extends another

 
class ITextIsAlphaNumeric(Interface)
    Text providing test whether the text is all-alphanumeric (and non-null)
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.ITextIsAlphaNumeric'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.ITextIsAlphaNumeric at 1a4b950>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27486848>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278D2B0>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'isalnum': <zope.interface.interface.Method object at 0x01A4B9D0>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Text providing test whether the text is all-alphanumeric (and non-null)', '__identifier__': 'basictypes.pythoninterfaces.ITextIsAlphaNumeric', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.ITextIsAlphaNumeric at 1a4b950>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'ITextIsAlphaNumeric', '_implied': {<InterfaceClass basictypes.pythoninterfaces.ITextIsAlphaNumeric at 1a4b950>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.ITextIsAlphaNumeric at 1a4b950>', ...}
__getattribute__ = <method-wrapper object at 0x0278DFF0>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278D2B0>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A4B950>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278DE50>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278DFF0>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A488D0; to 'InterfaceClass' at 01A4B950 (ITextIsAlphaNumeric)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A4B950>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A4B950>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A4B950>
Test whether a specification is or extends another

 
class ITextIsDigit(Interface)
    Text providing test whether the text is all-digits
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.ITextIsDigit'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.ITextIsDigit at 1a4bab0>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27486928>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278DEB0>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'isdigit': <zope.interface.interface.Method object at 0x01A4BAD0>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Text providing test whether the text is all-digits', '__identifier__': 'basictypes.pythoninterfaces.ITextIsDigit', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.ITextIsDigit at 1a4bab0>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'ITextIsDigit', '_implied': {<InterfaceClass basictypes.pythoninterfaces.ITextIsDigit at 1a4bab0>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.ITextIsDigit at 1a4bab0>', ...}
__getattribute__ = <method-wrapper object at 0x0278DFB0>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278DEB0>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A4BAB0>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278DC50>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278DFB0>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A48990; to 'InterfaceClass' at 01A4BAB0 (ITextIsDigit)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A4BAB0>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A4BAB0>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A4BAB0>
Test whether a specification is or extends another

 
class ITextIsLower(Interface)
    Text providing test whether the text is all-lowercase (and non-null)
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.ITextIsLower'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.ITextIsLower at 1a4bbb0>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27487088>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278DC90>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'islower': <zope.interface.interface.Method object at 0x01A4BBD0>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Text providing test whether the text is all-lowercase (and non-null)', '__identifier__': 'basictypes.pythoninterfaces.ITextIsLower', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.ITextIsLower at 1a4bbb0>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'ITextIsLower', '_implied': {<InterfaceClass basictypes.pythoninterfaces.ITextIsLower at 1a4bbb0>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.ITextIsLower at 1a4bbb0>', ...}
__getattribute__ = <method-wrapper object at 0x0278DFF0>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278DC90>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A4BBB0>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278D4F0>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278DFF0>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A48A50; to 'InterfaceClass' at 01A4BBB0 (ITextIsLower)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A4BBB0>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A4BBB0>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A4BBB0>
Test whether a specification is or extends another

 
class ITextIsNumeric(Interface)
    Text providing test whether the text is all-numeric characters
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.ITextIsNumeric'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.ITextIsNumeric at 1a4bb30>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27487008>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278DAB0>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'isdigit': <zope.interface.interface.Method object at 0x01A4BB50>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Text providing test whether the text is all-numeric characters', '__identifier__': 'basictypes.pythoninterfaces.ITextIsNumeric', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.ITextIsNumeric at 1a4bb30>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'ITextIsNumeric', '_implied': {<InterfaceClass basictypes.pythoninterfaces.ITextIsNumeric at 1a4bb30>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.ITextIsNumeric at 1a4bb30>', ...}
__getattribute__ = <method-wrapper object at 0x0278DFB0>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278DAB0>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A4BB30>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278DD70>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278DFB0>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A489F0; to 'InterfaceClass' at 01A4BB30 (ITextIsNumeric)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A4BB30>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A4BB30>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A4BB30>
Test whether a specification is or extends another

 
class ITextIsSpace(Interface)
    Text providing test whether the text is all-whitespace (and non-null)
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.ITextIsSpace'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.ITextIsSpace at 1a4bc30>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27487168>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278DF30>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'isspace': <zope.interface.interface.Method object at 0x01A4BC50>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Text providing test whether the text is all-whitespace (and non-null)', '__identifier__': 'basictypes.pythoninterfaces.ITextIsSpace', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.ITextIsSpace at 1a4bc30>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'ITextIsSpace', '_implied': {<InterfaceClass basictypes.pythoninterfaces.ITextIsSpace at 1a4bc30>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.ITextIsSpace at 1a4bc30>', ...}
__getattribute__ = <method-wrapper object at 0x0278DFF0>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278DF30>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A4BC30>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278DC50>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278DFF0>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A48AB0; to 'InterfaceClass' at 01A4BC30 (ITextIsSpace)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A4BC30>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A4BC30>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A4BC30>
Test whether a specification is or extends another

 
class ITextIsTitleCased(Interface)
    Text providing test whether text is in title case format
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.ITextIsTitleCased'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.ITextIsTitleCased at 1a4bcb0>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27487248>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278DC90>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'istitle': <zope.interface.interface.Method object at 0x01A4BCD0>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Text providing test whether text is in title case format', '__identifier__': 'basictypes.pythoninterfaces.ITextIsTitleCased', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.ITextIsTitleCased at 1a4bcb0>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'ITextIsTitleCased', '_implied': {<InterfaceClass basictypes.pythoninterfaces.ITextIsTitleCased at 1a4bcb0>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.ITextIsTitleCased at 1a4bcb0>', ...}
__getattribute__ = <method-wrapper object at 0x0278DEB0>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278DC90>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A4BCB0>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278DED0>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278DEB0>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A48B10; to 'InterfaceClass' at 01A4BCB0 (ITextIsTitleCased)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A4BCB0>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A4BCB0>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A4BCB0>
Test whether a specification is or extends another

 
class ITextIsUpperCased(Interface)
    Text providing test whether text is in upper case format
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.ITextIsUpperCased'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.ITextIsUpperCased at 1a4bd30>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27487328>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278D2B0>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'isupper': <zope.interface.interface.Method object at 0x01A4BD50>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Text providing test whether text is in upper case format', '__identifier__': 'basictypes.pythoninterfaces.ITextIsUpperCased', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.ITextIsUpperCased at 1a4bd30>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'ITextIsUpperCased', '_implied': {<InterfaceClass basictypes.pythoninterfaces.ITextIsUpperCased at 1a4bd30>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.ITextIsUpperCased at 1a4bd30>', ...}
__getattribute__ = <method-wrapper object at 0x0278DFF0>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278D2B0>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A4BD30>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278DE90>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278DFF0>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A48B70; to 'InterfaceClass' at 01A4BD30 (ITextIsUpperCased)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A4BD30>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A4BD30>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A4BD30>
Test whether a specification is or extends another

 
class ITextJoin(Interface)
    Text which can join sequences of text objects
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.ITextJoin'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.ITextJoin at 1a3fad0>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27442032>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278DAD0>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'join': <zope.interface.interface.Method object at 0x01A3FB10>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Text which can join sequences of text objects', '__identifier__': 'basictypes.pythoninterfaces.ITextJoin', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.ITextJoin at 1a3fad0>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'ITextJoin', '_implied': {<InterfaceClass basictypes.pythoninterfaces.ITextJoin at 1a3fad0>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.ITextJoin at 1a3fad0>', ...}
__getattribute__ = <method-wrapper object at 0x0278DEB0>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278DAD0>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A3FAD0>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278D490>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278DEB0>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A37E70; to 'InterfaceClass' at 01A3FAD0 (ITextJoin)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A3FAD0>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A3FAD0>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A3FAD0>
Test whether a specification is or extends another

 
class ITextLeftAlign(Interface)
    Text which can generate left-aligned copy of a given width
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.ITextLeftAlign'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.ITextLeftAlign at 1a3fe90>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27461432>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278DFF0>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'ljust': <zope.interface.interface.Method object at 0x01A3FEB0>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Text which can generate left-aligned copy of a given width', '__identifier__': 'basictypes.pythoninterfaces.ITextLeftAlign', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.ITextLeftAlign at 1a3fe90>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'ITextLeftAlign', '_implied': {<InterfaceClass basictypes.pythoninterfaces.ITextLeftAlign at 1a3fe90>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.ITextLeftAlign at 1a3fe90>', ...}
__getattribute__ = <method-wrapper object at 0x0278DD70>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278DFF0>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A3FE90>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278D950>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278DD70>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A48150; to 'InterfaceClass' at 01A3FE90 (ITextLeftAlign)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A3FE90>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A3FE90>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A3FE90>
Test whether a specification is or extends another

 
class ITextReplace(Interface)
    Text which can generate copies with replaced sub-strings
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.ITextReplace'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.ITextReplace at 1a3fbd0>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27442832>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278D4F0>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'replace': <zope.interface.interface.Method object at 0x01A3FC50>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Text which can generate copies with replaced sub-strings', '__identifier__': 'basictypes.pythoninterfaces.ITextReplace', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.ITextReplace at 1a3fbd0>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'ITextReplace', '_implied': {<InterfaceClass basictypes.pythoninterfaces.ITextReplace at 1a3fbd0>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.ITextReplace at 1a3fbd0>', ...}
__getattribute__ = <method-wrapper object at 0x0278D8D0>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278D4F0>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A3FBD0>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278DFF0>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278D8D0>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A37F30; to 'InterfaceClass' at 01A3FBD0 (ITextReplace)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A3FBD0>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A3FBD0>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A3FBD0>
Test whether a specification is or extends another

 
class ITextRightAlign(Interface)
    Text which can generate right-aligned copy of a given width
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.ITextRightAlign'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.ITextRightAlign at 1a3fe10>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27461192>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278DAD0>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'rjust': <zope.interface.interface.Method object at 0x01A3FE30>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Text which can generate right-aligned copy of a given width', '__identifier__': 'basictypes.pythoninterfaces.ITextRightAlign', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.ITextRightAlign at 1a3fe10>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'ITextRightAlign', '_implied': {<InterfaceClass basictypes.pythoninterfaces.ITextRightAlign at 1a3fe10>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.ITextRightAlign at 1a3fe10>', ...}
__getattribute__ = <method-wrapper object at 0x0278DDF0>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278DAD0>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A3FE10>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278D950>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278DDF0>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A480F0; to 'InterfaceClass' at 01A3FE10 (ITextRightAlign)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A3FE10>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A3FE10>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A3FE10>
Test whether a specification is or extends another

 
class ITextSplit(Interface)
    Text which can create sequences by splitting on a sub-string
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.ITextSplit'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.ITextSplit at 1a3fb30>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27442352>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278DF50>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'split': <zope.interface.interface.Method object at 0x01A3FBB0>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Text which can create sequences by splitting on a sub-string', '__identifier__': 'basictypes.pythoninterfaces.ITextSplit', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.ITextSplit at 1a3fb30>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'ITextSplit', '_implied': {<InterfaceClass basictypes.pythoninterfaces.ITextSplit at 1a3fb30>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.ITextSplit at 1a3fb30>', ...}
__getattribute__ = <method-wrapper object at 0x0278D8D0>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278DF50>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A3FB30>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278DAD0>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278D8D0>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A37ED0; to 'InterfaceClass' at 01A3FB30 (ITextSplit)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A3FB30>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A3FB30>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A3FB30>
Test whether a specification is or extends another

 
class ITextSplitLines(Interface)
    Text which can split itself on line breaks
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.ITextSplitLines'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.ITextSplitLines at 1a3fcb0>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27443152>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278DFB0>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'splitlines': <zope.interface.interface.Method object at 0x01A3FCD0>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Text which can split itself on line breaks', '__identifier__': 'basictypes.pythoninterfaces.ITextSplitLines', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.ITextSplitLines at 1a3fcb0>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'ITextSplitLines', '_implied': {<InterfaceClass basictypes.pythoninterfaces.ITextSplitLines at 1a3fcb0>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.ITextSplitLines at 1a3fcb0>', ...}
__getattribute__ = <method-wrapper object at 0x0278DE90>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278DFB0>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A3FCB0>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278DDF0>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278DE90>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A37F90; to 'InterfaceClass' at 01A3FCB0 (ITextSplitLines)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A3FCB0>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A3FCB0>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A3FCB0>
Test whether a specification is or extends another

 
class ITextStartsWith(Interface)
    Text which can determine whether it starts with a particular sub-string
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.ITextStartsWith'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.ITextStartsWith at 1a4b550>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27486248>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278DCB0>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'startswith': <zope.interface.interface.Method object at 0x01A4B570>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Text which can determine whether it starts with a particular sub-string', '__identifier__': 'basictypes.pythoninterfaces.ITextStartsWith', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.ITextStartsWith at 1a4b550>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'ITextStartsWith', '_implied': {<InterfaceClass basictypes.pythoninterfaces.ITextStartsWith at 1a4b550>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.ITextStartsWith at 1a4b550>', ...}
__getattribute__ = <method-wrapper object at 0x0278DF30>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278DCB0>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A4B550>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278DAD0>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278DF30>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A48630; to 'InterfaceClass' at 01A4B550 (ITextStartsWith)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A4B550>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A4B550>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A4B550>
Test whether a specification is or extends another

 
class ITextStrip(Interface)
    Text which can generate copies with leading and trailing whitespace trimmed
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.ITextStrip'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.ITextStrip at 1a4b3f0>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27485968>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278DAB0>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'strip': <zope.interface.interface.Method object at 0x01A4B410>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Text which can generate copies with leading and trailing whitespace trimmed', '__identifier__': 'basictypes.pythoninterfaces.ITextStrip', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.ITextStrip at 1a4b3f0>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'ITextStrip', '_implied': {<InterfaceClass basictypes.pythoninterfaces.ITextStrip at 1a4b3f0>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.ITextStrip at 1a4b3f0>', ...}
__getattribute__ = <method-wrapper object at 0x0278DCF0>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278DAB0>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A4B3F0>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278DC10>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278DCF0>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A48510; to 'InterfaceClass' at 01A4B3F0 (ITextStrip)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A4B3F0>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A4B3F0>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A4B3F0>
Test whether a specification is or extends another

 
class ITextStripLeft(Interface)
    Text which can generate copies with leftmost whitespace trimmed
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.ITextStripLeft'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.ITextStripLeft at 1a4b290>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27485808>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278DF30>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'lstrip': <zope.interface.interface.Method object at 0x01A4B310>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Text which can generate copies with leftmost whitespace trimmed', '__identifier__': 'basictypes.pythoninterfaces.ITextStripLeft', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.ITextStripLeft at 1a4b290>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'ITextStripLeft', '_implied': {<InterfaceClass basictypes.pythoninterfaces.ITextStripLeft at 1a4b290>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.ITextStripLeft at 1a4b290>', ...}
__getattribute__ = <method-wrapper object at 0x0278DB90>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278DF30>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A4B290>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278DAB0>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278DB90>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A48450; to 'InterfaceClass' at 01A4B290 (ITextStripLeft)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A4B290>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A4B290>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A4B290>
Test whether a specification is or extends another

 
class ITextStripRight(Interface)
    Text which can generate copies with rightmost whitespace trimmed
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.ITextStripRight'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.ITextStripRight at 1a4b370>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27485888>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278DEF0>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'rstrip': <zope.interface.interface.Method object at 0x01A4B390>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Text which can generate copies with rightmost whitespace trimmed', '__identifier__': 'basictypes.pythoninterfaces.ITextStripRight', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.ITextStripRight at 1a4b370>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'ITextStripRight', '_implied': {<InterfaceClass basictypes.pythoninterfaces.ITextStripRight at 1a4b370>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.ITextStripRight at 1a4b370>', ...}
__getattribute__ = <method-wrapper object at 0x0278DCF0>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278DEF0>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A4B370>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278DFB0>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278DCF0>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A484B0; to 'InterfaceClass' at 01A4B370 (ITextStripRight)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A4B370>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A4B370>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A4B370>
Test whether a specification is or extends another

 
class ITextTranslate(Interface)
    Text which can generate translation-table modified copies of itself
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.ITextTranslate'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.ITextTranslate at 1a3ff50>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27462072>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278DB30>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'translate': <zope.interface.interface.Method object at 0x01A3FFD0>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Text which can generate translation-table modified copies of itself', '__identifier__': 'basictypes.pythoninterfaces.ITextTranslate', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.ITextTranslate at 1a3ff50>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'ITextTranslate', '_implied': {<InterfaceClass basictypes.pythoninterfaces.ITextTranslate at 1a3ff50>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.ITextTranslate at 1a3ff50>', ...}
__getattribute__ = <method-wrapper object at 0x0278DB90>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278DB30>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A3FF50>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278DC10>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278DB90>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A48210; to 'InterfaceClass' at 01A3FF50 (ITextTranslate)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A3FF50>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A3FF50>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A3FF50>
Test whether a specification is or extends another

 
class ITextZeroFill(Interface)
    Text which can generate left-zero-padded copies of itself
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 1985cb0>,)
__identifier__ = 'basictypes.pythoninterfaces.ITextZeroFill'
__iro__ = (<InterfaceClass basictypes.pythoninterfaces.ITextZeroFill at 1a3ff10>, <InterfaceClass zope.interface.Interface at 1985cb0>)
dependents = <WeakKeyDictionary at 27461752>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x0278DDF0>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'zfill': <zope.interface.interface.Method object at 0x01A3FF30>}, '__bases__': (<InterfaceClass zope.interface.Interface at 1985cb0>,), '__doc__': 'Text which can generate left-zero-padded copies of itself', '__identifier__': 'basictypes.pythoninterfaces.ITextZeroFill', '__iro__': (<InterfaceClass basictypes.pythoninterfaces.ITextZeroFill at 1a3ff10>, <InterfaceClass zope.interface.Interface at 1985cb0>), '__module__': 'basictypes.pythoninterfaces', '__name__': 'ITextZeroFill', '_implied': {<InterfaceClass basictypes.pythoninterfaces.ITextZeroFill at 1a3ff10>: (), <InterfaceClass zope.interface.Interface at 1985cb0>: ()}, '_v_repr': '<InterfaceClass basictypes.pythoninterfaces.ITextZeroFill at 1a3ff10>', ...}
__getattribute__ = <method-wrapper object at 0x0278DF70>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x0278DDF0>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x02393110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x01A3FF10>
helper for pickle
__setattr__ = <method-wrapper object at 0x0278DFB0>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x0278DF70>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01A481B0; to 'InterfaceClass' at 01A3FF10 (ITextZeroFill)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x01A3FF10>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x01A3FF10>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x01A3FF10>
Test whether a specification is or extends another

 
Functions
       
register()

 
Data
        StringIO_StringIO__implements__ = [<InterfaceClass basictypes.pythoninterfaces.IObjectIter at 1a33e10>, <InterfaceClass basictypes.pythoninterfaces.IObjectHash at 1a33d90>, <InterfaceClass basictypes.pythoninterfaces.IStreamClose at 1a69450>, <InterfaceClass basictypes.pythoninterfaces.IStreamFlush at 1a69530>, <InterfaceClass basictypes.pythoninterfaces.IStreamIsTTY at 1a695b0>, <InterfaceClass basictypes.pythoninterfaces.IStreamRead at 1a695f0>, <InterfaceClass basictypes.pythoninterfaces.IStreamWrite at 1a696d0>, <InterfaceClass basictypes.pythoninterfaces.IStreamReadLine at 1a696f0>, <InterfaceClass basictypes.pythoninterfaces.IStreamReadLines at 1a697d0>, <InterfaceClass basictypes.pythoninterfaces.IStreamXReadLines at 1a69850>, <InterfaceClass basictypes.pythoninterfaces.IStreamWriteLines at 1a698d0>, <InterfaceClass basictypes.pythoninterfaces.IStreamSeek at 1a69930>, <InterfaceClass basictypes.pythoninterfaces.IStreamTell at 1a699b0>, <InterfaceClass basictypes.pythoninterfaces.IStreamTruncate at 1a699f0>, <InterfaceClass basictypes.pythoninterfaces.IStreamMode at 1a69a90>, <InterfaceClass basictypes.pythoninterfaces.IStreamName at 1a69b10>, <InterfaceClass basictypes.pythoninterfaces.IStringIOGetValue at 1a69bd0>]
array_ArrayType__implements__ = [<InterfaceClass basictypes.pythoninterfaces.IObjectComparable at 183fdd0>, <InterfaceClass basictypes.pythoninterfaces.IPickleable at 1a33e90>, <InterfaceClass basictypes.pythoninterfaces.ICopyable at 1a33fd0>, <InterfaceClass basictypes.pythoninterfaces.IDeepCopyable at 1a3f170>, <InterfaceClass basictypes.pythoninterfaces.ISequenceAppend at 1a3f550>, <InterfaceClass basictypes.pythoninterfaces.ISequenceCount at 1a3f5d0>, <InterfaceClass basictypes.pythoninterfaces.ISequenceExtend at 1a3f650>, <InterfaceClass basictypes.pythoninterfaces.ISequenceIndex at 1a3f6d0>, <InterfaceClass basictypes.pythoninterfaces.ISequenceInsert at 1a3f750>, <InterfaceClass basictypes.pythoninterfaces.ISequenceRemove at 1a3f7d0>, <InterfaceClass basictypes.pythoninterfaces.ISequenceReverse at 1a3f850>, <InterfaceClass basictypes.pythoninterfaces.ISequenceSort at 1a3f890>, <InterfaceClass basictypes.pythoninterfaces.ISequencePopAny at 1a3f990>, <InterfaceClass basictypes.pythoninterfaces.IArrayIOString at 1a69df0>, <InterfaceClass basictypes.pythoninterfaces.IArrayIOList at 1a69e70>, <InterfaceClass basictypes.pythoninterfaces.IArrayIOFile at 1a69f10>, <InterfaceClass basictypes.pythoninterfaces.IArrayMetadata at 1a69f90>, <InterfaceClass basictypes.pythoninterfaces.IArrayByteswap at 1a780b0>]
baseTypeImplements = [(<type 'list'>, [<InterfaceClass basictypes.pythoninterfaces.IObjectContains at 1a33ad0>, <InterfaceClass basictypes.pythoninterfaces.IObjectEq at 1a33cb0>, <InterfaceClass basictypes.pythoninterfaces.IObjectNe at 18331b0>, <InterfaceClass basictypes.pythoninterfaces.IObjectComparable at 183fdd0>, <InterfaceClass basictypes.pythoninterfaces.IObjectLength at 184b930>, <InterfaceClass basictypes.pythoninterfaces.IPickleable at 1a33e90>, <InterfaceClass basictypes.pythoninterfaces.ICopyable at 1a33fd0>, <InterfaceClass basictypes.pythoninterfaces.IDeepCopyable at 1a3f170>, <InterfaceClass basictypes.pythoninterfaces.ISequenceGetItem at 1a3f250>, <InterfaceClass basictypes.pythoninterfaces.ISequenceSetItem at 1a3f2d0>, <InterfaceClass basictypes.pythoninterfaces.ISequenceDelItem at 1a3f350>, <InterfaceClass basictypes.pythoninterfaces.ISequenceGetSlice at 1a3f3d0>, <InterfaceClass basictypes.pythoninterfaces.ISequenceSetSlice at 1a3f450>, <InterfaceClass basictypes.pythoninterfaces.ISequenceDelSlice at 1a3f4d0>, <InterfaceClass basictypes.pythoninterfaces.ISequenceAppend at 1a3f550>, <InterfaceClass basictypes.pythoninterfaces.ISequenceCount at 1a3f5d0>, <InterfaceClass basictypes.pythoninterfaces.ISequenceExtend at 1a3f650>, <InterfaceClass basictypes.pythoninterfaces.ISequenceIndex at 1a3f6d0>, <InterfaceClass basictypes.pythoninterfaces.ISequenceInsert at 1a3f750>, <InterfaceClass basictypes.pythoninterfaces.ISequenceRemove at 1a3f7d0>, ...]), (<type 'tuple'>, [<InterfaceClass basictypes.pythoninterfaces.IObjectContains at 1a33ad0>, <InterfaceClass basictypes.pythoninterfaces.IObjectEq at 1a33cb0>, <InterfaceClass basictypes.pythoninterfaces.IObjectNe at 18331b0>, <InterfaceClass basictypes.pythoninterfaces.IObjectComparable at 183fdd0>, <InterfaceClass basictypes.pythoninterfaces.IObjectLength at 184b930>, <InterfaceClass basictypes.pythoninterfaces.IObjectHash at 1a33d90>, <InterfaceClass basictypes.pythoninterfaces.IPickleable at 1a33e90>, <InterfaceClass basictypes.pythoninterfaces.ICopyable at 1a33fd0>, <InterfaceClass basictypes.pythoninterfaces.IDeepCopyable at 1a3f170>, <InterfaceClass basictypes.pythoninterfaces.ISequenceGetItem at 1a3f250>, <InterfaceClass basictypes.pythoninterfaces.ISequenceGetSlice at 1a3f3d0>]), (<type 'str'>, [<InterfaceClass basictypes.pythoninterfaces.IObjectContains at 1a33ad0>, <InterfaceClass basictypes.pythoninterfaces.IObjectEq at 1a33cb0>, <InterfaceClass basictypes.pythoninterfaces.IObjectNe at 18331b0>, <InterfaceClass basictypes.pythoninterfaces.IObjectComparable at 183fdd0>, <InterfaceClass basictypes.pythoninterfaces.IObjectLength at 184b930>, <InterfaceClass basictypes.pythoninterfaces.IObjectHash at 1a33d90>, <InterfaceClass basictypes.pythoninterfaces.IPickleable at 1a33e90>, <InterfaceClass basictypes.pythoninterfaces.ICopyable at 1a33fd0>, <InterfaceClass basictypes.pythoninterfaces.IDeepCopyable at 1a3f170>, <InterfaceClass basictypes.pythoninterfaces.ISequenceGetItem at 1a3f250>, <InterfaceClass basictypes.pythoninterfaces.ISequenceGetSlice at 1a3f3d0>, <InterfaceClass basictypes.pythoninterfaces.ITextCount at 1a4b630>, <InterfaceClass basictypes.pythoninterfaces.ITextJoin at 1a3fad0>, <InterfaceClass basictypes.pythoninterfaces.ITextSplit at 1a3fb30>, <InterfaceClass basictypes.pythoninterfaces.ITextReplace at 1a3fbd0>, <InterfaceClass basictypes.pythoninterfaces.ITextSplitLines at 1a3fcb0>, <InterfaceClass basictypes.pythoninterfaces.ITextCapitalize at 1a3fd30>, <InterfaceClass basictypes.pythoninterfaces.ITextCenterAlign at 1a3fd90>, <InterfaceClass basictypes.pythoninterfaces.ITextRightAlign at 1a3fe10>, <InterfaceClass basictypes.pythoninterfaces.ITextLeftAlign at 1a3fe90>, ...]), (<type 'unicode'>, [<InterfaceClass basictypes.pythoninterfaces.IObjectContains at 1a33ad0>, <InterfaceClass basictypes.pythoninterfaces.IObjectComparable at 183fdd0>, <InterfaceClass basictypes.pythoninterfaces.IObjectLength at 184b930>, <InterfaceClass basictypes.pythoninterfaces.IObjectHash at 1a33d90>, <InterfaceClass basictypes.pythoninterfaces.IPickleable at 1a33e90>, <InterfaceClass basictypes.pythoninterfaces.ICopyable at 1a33fd0>, <InterfaceClass basictypes.pythoninterfaces.IDeepCopyable at 1a3f170>, <InterfaceClass basictypes.pythoninterfaces.ISequenceGetItem at 1a3f250>, <InterfaceClass basictypes.pythoninterfaces.ISequenceGetSlice at 1a3f3d0>, <InterfaceClass basictypes.pythoninterfaces.ITextCount at 1a4b630>, <InterfaceClass basictypes.pythoninterfaces.ITextJoin at 1a3fad0>, <InterfaceClass basictypes.pythoninterfaces.ITextSplit at 1a3fb30>, <InterfaceClass basictypes.pythoninterfaces.ITextReplace at 1a3fbd0>, <InterfaceClass basictypes.pythoninterfaces.ITextSplitLines at 1a3fcb0>, <InterfaceClass basictypes.pythoninterfaces.ITextCapitalize at 1a3fd30>, <InterfaceClass basictypes.pythoninterfaces.ITextCenterAlign at 1a3fd90>, <InterfaceClass basictypes.pythoninterfaces.ITextRightAlign at 1a3fe10>, <InterfaceClass basictypes.pythoninterfaces.ITextLeftAlign at 1a3fe90>, <InterfaceClass basictypes.pythoninterfaces.ITextZeroFill at 1a3ff10>, <InterfaceClass basictypes.pythoninterfaces.ITextTranslate at 1a3ff50>, ...]), (<type 'dict'>, [<InterfaceClass basictypes.pythoninterfaces.IObjectContains at 1a33ad0>, <InterfaceClass basictypes.pythoninterfaces.IObjectEq at 1a33cb0>, <InterfaceClass basictypes.pythoninterfaces.IObjectNe at 18331b0>, <InterfaceClass basictypes.pythoninterfaces.IObjectComparable at 183fdd0>, <InterfaceClass basictypes.pythoninterfaces.IObjectGetItem at 183fc30>, <InterfaceClass basictypes.pythoninterfaces.IObjectSetItem at 183fd90>, <InterfaceClass basictypes.pythoninterfaces.IObjectDelItem at 183fc10>, <InterfaceClass basictypes.pythoninterfaces.IObjectLength at 184b930>, <InterfaceClass basictypes.pythoninterfaces.IObjectIter at 1a33e10>, <InterfaceClass basictypes.pythoninterfaces.IPickleable at 1a33e90>, <InterfaceClass basictypes.pythoninterfaces.ICopyable at 1a33fd0>, <InterfaceClass basictypes.pythoninterfaces.IDeepCopyable at 1a3f170>, <InterfaceClass basictypes.pythoninterfaces.IMappingClear at 1a4bdb0>, <InterfaceClass basictypes.pythoninterfaces.IMappingCopy at 1a4be30>, <InterfaceClass basictypes.pythoninterfaces.IMappingUpdate at 1a4beb0>, <InterfaceClass basictypes.pythoninterfaces.IMappingGet at 1a4bef0>, <InterfaceClass basictypes.pythoninterfaces.IMappingPopItem at 1a4bfd0>, <InterfaceClass basictypes.pythoninterfaces.IMappingSetDefault at 1a4bfb0>, <InterfaceClass basictypes.pythoninterfaces.IMappingHasKey at 1a69110>, <InterfaceClass basictypes.pythoninterfaces.IMappingItems at 1a69190>, ...])]
bsddb__implements__ = [<InterfaceClass basictypes.pythoninterfaces.IDBMDatabase at 1a69c30>, <InterfaceClass basictypes.pythoninterfaces.IBSDIterationSetLocation at 1a69cf0>]
dbhash__implements__ = [<InterfaceClass basictypes.pythoninterfaces.IDBMDatabase at 1a69c30>, <InterfaceClass basictypes.pythoninterfaces.IBSDIteration at 1a69c90>]
dict__implements__ = [<InterfaceClass basictypes.pythoninterfaces.IObjectContains at 1a33ad0>, <InterfaceClass basictypes.pythoninterfaces.IObjectEq at 1a33cb0>, <InterfaceClass basictypes.pythoninterfaces.IObjectNe at 18331b0>, <InterfaceClass basictypes.pythoninterfaces.IObjectComparable at 183fdd0>, <InterfaceClass basictypes.pythoninterfaces.IObjectGetItem at 183fc30>, <InterfaceClass basictypes.pythoninterfaces.IObjectSetItem at 183fd90>, <InterfaceClass basictypes.pythoninterfaces.IObjectDelItem at 183fc10>, <InterfaceClass basictypes.pythoninterfaces.IObjectLength at 184b930>, <InterfaceClass basictypes.pythoninterfaces.IObjectIter at 1a33e10>, <InterfaceClass basictypes.pythoninterfaces.IPickleable at 1a33e90>, <InterfaceClass basictypes.pythoninterfaces.ICopyable at 1a33fd0>, <InterfaceClass basictypes.pythoninterfaces.IDeepCopyable at 1a3f170>, <InterfaceClass basictypes.pythoninterfaces.IMappingClear at 1a4bdb0>, <InterfaceClass basictypes.pythoninterfaces.IMappingCopy at 1a4be30>, <InterfaceClass basictypes.pythoninterfaces.IMappingUpdate at 1a4beb0>, <InterfaceClass basictypes.pythoninterfaces.IMappingGet at 1a4bef0>, <InterfaceClass basictypes.pythoninterfaces.IMappingPopItem at 1a4bfd0>, <InterfaceClass basictypes.pythoninterfaces.IMappingSetDefault at 1a4bfb0>, <InterfaceClass basictypes.pythoninterfaces.IMappingHasKey at 1a69110>, <InterfaceClass basictypes.pythoninterfaces.IMappingItems at 1a69190>, ...]
dumbdbm__implements__ = [<InterfaceClass basictypes.pythoninterfaces.IDBMDatabase at 1a69c30>]
file__implements__ = [<InterfaceClass basictypes.pythoninterfaces.IObjectIter at 1a33e10>, <InterfaceClass basictypes.pythoninterfaces.IObjectHash at 1a33d90>, <InterfaceClass basictypes.pythoninterfaces.IStreamClose at 1a69450>, <InterfaceClass basictypes.pythoninterfaces.IStreamFlush at 1a69530>, <InterfaceClass basictypes.pythoninterfaces.IStreamIsTTY at 1a695b0>, <InterfaceClass basictypes.pythoninterfaces.IStreamRead at 1a695f0>, <InterfaceClass basictypes.pythoninterfaces.IStreamWrite at 1a696d0>, <InterfaceClass basictypes.pythoninterfaces.IStreamReadLine at 1a696f0>, <InterfaceClass basictypes.pythoninterfaces.IStreamReadLines at 1a697d0>, <InterfaceClass basictypes.pythoninterfaces.IStreamXReadLines at 1a69850>, <InterfaceClass basictypes.pythoninterfaces.IStreamWriteLines at 1a698d0>, <InterfaceClass basictypes.pythoninterfaces.IStreamSeek at 1a69930>, <InterfaceClass basictypes.pythoninterfaces.IStreamTell at 1a699b0>, <InterfaceClass basictypes.pythoninterfaces.IStreamTruncate at 1a699f0>, <InterfaceClass basictypes.pythoninterfaces.IStreamMode at 1a69a90>, <InterfaceClass basictypes.pythoninterfaces.IStreamName at 1a69b10>]
list__implements__ = [<InterfaceClass basictypes.pythoninterfaces.IObjectContains at 1a33ad0>, <InterfaceClass basictypes.pythoninterfaces.IObjectEq at 1a33cb0>, <InterfaceClass basictypes.pythoninterfaces.IObjectNe at 18331b0>, <InterfaceClass basictypes.pythoninterfaces.IObjectComparable at 183fdd0>, <InterfaceClass basictypes.pythoninterfaces.IObjectLength at 184b930>, <InterfaceClass basictypes.pythoninterfaces.IPickleable at 1a33e90>, <InterfaceClass basictypes.pythoninterfaces.ICopyable at 1a33fd0>, <InterfaceClass basictypes.pythoninterfaces.IDeepCopyable at 1a3f170>, <InterfaceClass basictypes.pythoninterfaces.ISequenceGetItem at 1a3f250>, <InterfaceClass basictypes.pythoninterfaces.ISequenceSetItem at 1a3f2d0>, <InterfaceClass basictypes.pythoninterfaces.ISequenceDelItem at 1a3f350>, <InterfaceClass basictypes.pythoninterfaces.ISequenceGetSlice at 1a3f3d0>, <InterfaceClass basictypes.pythoninterfaces.ISequenceSetSlice at 1a3f450>, <InterfaceClass basictypes.pythoninterfaces.ISequenceDelSlice at 1a3f4d0>, <InterfaceClass basictypes.pythoninterfaces.ISequenceAppend at 1a3f550>, <InterfaceClass basictypes.pythoninterfaces.ISequenceCount at 1a3f5d0>, <InterfaceClass basictypes.pythoninterfaces.ISequenceExtend at 1a3f650>, <InterfaceClass basictypes.pythoninterfaces.ISequenceIndex at 1a3f6d0>, <InterfaceClass basictypes.pythoninterfaces.ISequenceInsert at 1a3f750>, <InterfaceClass basictypes.pythoninterfaces.ISequenceRemove at 1a3f7d0>, ...]
str__implements__ = [<InterfaceClass basictypes.pythoninterfaces.IObjectContains at 1a33ad0>, <InterfaceClass basictypes.pythoninterfaces.IObjectEq at 1a33cb0>, <InterfaceClass basictypes.pythoninterfaces.IObjectNe at 18331b0>, <InterfaceClass basictypes.pythoninterfaces.IObjectComparable at 183fdd0>, <InterfaceClass basictypes.pythoninterfaces.IObjectLength at 184b930>, <InterfaceClass basictypes.pythoninterfaces.IObjectHash at 1a33d90>, <InterfaceClass basictypes.pythoninterfaces.IPickleable at 1a33e90>, <InterfaceClass basictypes.pythoninterfaces.ICopyable at 1a33fd0>, <InterfaceClass basictypes.pythoninterfaces.IDeepCopyable at 1a3f170>, <InterfaceClass basictypes.pythoninterfaces.ISequenceGetItem at 1a3f250>, <InterfaceClass basictypes.pythoninterfaces.ISequenceGetSlice at 1a3f3d0>, <InterfaceClass basictypes.pythoninterfaces.ITextCount at 1a4b630>, <InterfaceClass basictypes.pythoninterfaces.ITextJoin at 1a3fad0>, <InterfaceClass basictypes.pythoninterfaces.ITextSplit at 1a3fb30>, <InterfaceClass basictypes.pythoninterfaces.ITextReplace at 1a3fbd0>, <InterfaceClass basictypes.pythoninterfaces.ITextSplitLines at 1a3fcb0>, <InterfaceClass basictypes.pythoninterfaces.ITextCapitalize at 1a3fd30>, <InterfaceClass basictypes.pythoninterfaces.ITextCenterAlign at 1a3fd90>, <InterfaceClass basictypes.pythoninterfaces.ITextRightAlign at 1a3fe10>, <InterfaceClass basictypes.pythoninterfaces.ITextLeftAlign at 1a3fe90>, ...]
tuple__implements__ = [<InterfaceClass basictypes.pythoninterfaces.IObjectContains at 1a33ad0>, <InterfaceClass basictypes.pythoninterfaces.IObjectEq at 1a33cb0>, <InterfaceClass basictypes.pythoninterfaces.IObjectNe at 18331b0>, <InterfaceClass basictypes.pythoninterfaces.IObjectComparable at 183fdd0>, <InterfaceClass basictypes.pythoninterfaces.IObjectLength at 184b930>, <InterfaceClass basictypes.pythoninterfaces.IObjectHash at 1a33d90>, <InterfaceClass basictypes.pythoninterfaces.IPickleable at 1a33e90>, <InterfaceClass basictypes.pythoninterfaces.ICopyable at 1a33fd0>, <InterfaceClass basictypes.pythoninterfaces.IDeepCopyable at 1a3f170>, <InterfaceClass basictypes.pythoninterfaces.ISequenceGetItem at 1a3f250>, <InterfaceClass basictypes.pythoninterfaces.ISequenceGetSlice at 1a3f3d0>]
unicode__implements__ = [<InterfaceClass basictypes.pythoninterfaces.IObjectContains at 1a33ad0>, <InterfaceClass basictypes.pythoninterfaces.IObjectComparable at 183fdd0>, <InterfaceClass basictypes.pythoninterfaces.IObjectLength at 184b930>, <InterfaceClass basictypes.pythoninterfaces.IObjectHash at 1a33d90>, <InterfaceClass basictypes.pythoninterfaces.IPickleable at 1a33e90>, <InterfaceClass basictypes.pythoninterfaces.ICopyable at 1a33fd0>, <InterfaceClass basictypes.pythoninterfaces.IDeepCopyable at 1a3f170>, <InterfaceClass basictypes.pythoninterfaces.ISequenceGetItem at 1a3f250>, <InterfaceClass basictypes.pythoninterfaces.ISequenceGetSlice at 1a3f3d0>, <InterfaceClass basictypes.pythoninterfaces.ITextCount at 1a4b630>, <InterfaceClass basictypes.pythoninterfaces.ITextJoin at 1a3fad0>, <InterfaceClass basictypes.pythoninterfaces.ITextSplit at 1a3fb30>, <InterfaceClass basictypes.pythoninterfaces.ITextReplace at 1a3fbd0>, <InterfaceClass basictypes.pythoninterfaces.ITextSplitLines at 1a3fcb0>, <InterfaceClass basictypes.pythoninterfaces.ITextCapitalize at 1a3fd30>, <InterfaceClass basictypes.pythoninterfaces.ITextCenterAlign at 1a3fd90>, <InterfaceClass basictypes.pythoninterfaces.ITextRightAlign at 1a3fe10>, <InterfaceClass basictypes.pythoninterfaces.ITextLeftAlign at 1a3fe90>, <InterfaceClass basictypes.pythoninterfaces.ITextZeroFill at 1a3ff10>, <InterfaceClass basictypes.pythoninterfaces.ITextTranslate at 1a3ff50>, ...]