MCPcopy Create free account

hub / github.com/zopefoundation/zope.interface / functions

Functions1,810 in github.com/zopefoundation/zope.interface

Method_test
()
src/zope/interface/tests/test_declarations.py:1302
Method_test
()
src/zope/interface/tests/test_interface.py:1044
Method_utility_registrations_cache
(self)
src/zope/interface/registry.py:199
Method_v_attrs
(self)
src/zope/interface/declarations.py:264
Function_zic_module_exec
Handler for the 'execute' phase of multi-phase initialization * * See: https://docs.python.org/3/c-api/module.html#multi-phase-initialization * and
src/zope/interface/_zope_interface_coptimizations.c:2681
Function_zic_state_clear
src/zope/interface/_zope_interface_coptimizations.c:2223
Function_zic_state_traverse
src/zope/interface/_zope_interface_coptimizations.c:2202
MethodaMethod
()
src/zope/interface/tests/test_document.py:140
MethodaMethod
()
src/zope/interface/tests/test_document.py:385
Methodadapter_hook
Adapt an object using a registered adapter factory. name must be text.
src/zope/interface/interfaces.py:875
MethodaddValue
(existing, new)
src/zope/interface/tests/test_adapter.py:336
MethodalsoProvides
Declare additional interfaces directly for an object. For example:: alsoProvides(ob, I1) is equivalent to::
src/zope/interface/interfaces.py:730
MethodassertLeafIdentity
(self, leaf1, leaf2)
src/zope/interface/tests/test_adapter.py:946
Methodastimezone
Return a datetime object with new tzinfo member tz, adjusting the date and time members so the result is the same UTC time as self, but
src/zope/interface/common/idatetime.py:369
Methodattr
(self)
src/zope/interface/tests/test_verify.py:437
Functionbar
(baz)
src/zope/interface/tests/dummy.py:23
Methodbar
The bar method
src/zope/interface/tests/test_verify.py:640
Methodbar
(a, b)
src/zope/interface/tests/test_verify.py:647
Methodbar
DOCSTRING
src/zope/interface/tests/test_interface.py:2804
Methodbar
()
src/zope/interface/tests/test_advice.py:100
Methodbar
Just a note.
src/zope/interface/tests/idummy.py:22
Functionbench_getattr
(loops, name, get=getattr)
benchmarks/micro.py:123
Functionbench_iface_call_no_conform_no_alternate_not_provided
(loops)
benchmarks/micro.py:140
Functionbench_iface_call_no_conform_provided_deep
(loops)
benchmarks/micro.py:198
Functionbench_iface_call_no_conform_provided_wide
(loops)
benchmarks/micro.py:194
Functionbench_iface_call_no_conform_w_alternate_not_provided
(loops)
benchmarks/micro.py:155
Functionbench_iface_call_w_conform_return_non_none_not_provided
(loops)
benchmarks/micro.py:175
Functionbench_iface_call_w_conform_return_none_not_provided
(loops)
benchmarks/micro.py:165
Functionbench_in
(loops, o)
benchmarks/micro.py:84
Functionbench_query_adapter
(loops, components, objs=providers)
benchmarks/micro.py:108
Functionbench_sort
(loops, objs)
benchmarks/micro.py:93
Functionbroken_function
This is a global function with a simple argument list. It exists to be able to report the same information when formatting signatures.
src/zope/interface/tests/test_exceptions.py:87
Methodbuffer
(it)
src/zope/interface/adapter.py:568
Methodbuild_adapters
(L, MT)
src/zope/interface/tests/test_adapter.py:265
Methodbuild_extension
(self, ext)
setup.py:44
Methodbuild_provided
(P)
src/zope/interface/tests/test_adapter.py:843
Methodbuild_subscribers
(L, F, MT)
src/zope/interface/tests/test_adapter.py:800
Methodchanged
(self, originally_changed)
src/zope/interface/declarations.py:334
Methodchanged
(self, ignored=None)
src/zope/interface/adapter.py:768
Methodchanged
(self, originally_changed)
src/zope/interface/adapter.py:966
Methodchanged
(self, orig)
src/zope/interface/tests/test_adapter.py:134
MethodclassImplements
Declare additional interfaces implemented for instances of a class. The arguments after the class are one or more interfaces or
src/zope/interface/interfaces.py:595
MethodclassImplementsFirst
See :func:`zope.interface.classImplementsFirst`.
src/zope/interface/interfaces.py:625
MethodclassImplementsOnly
Declare the only interfaces implemented by instances of a class. The arguments after the class are one or more interfaces or
src/zope/interface/interfaces.py:641
MethodcleanUp
(self)
src/zope/interface/tests/__init__.py:125
Methodcombine
Return a new datetime object. Its date members are equal to the given date object's, and whose time and tzinfo members are equal to t
src/zope/interface/common/idatetime.py:308
Methodcount
Return number of occurrences of value
src/zope/interface/common/sequence.py:116
Methodctime
Return a string representing the date. For example date(2002, 12, 4).ctime() == 'Wed Dec 4 00:00:00 2002'. d.ctime() is equivalent to
src/zope/interface/common/idatetime.py:202
Methodctime
Return a string representing the date and time. ``datetime(2002, 12, 4, 20, 30, 40).ctime()`` yields ``'Wed Dec 4 20:30:40 2002'``.
src/zope/interface/common/idatetime.py:469
Methoddate
Return date object with same year, month and day.
src/zope/interface/common/idatetime.py:343
Methoddecorator
(func)
src/zope/interface/tests/test_verify.py:514
Methoddependents
(self)
src/zope/interface/declarations.py:238
Methoddependents
(self)
src/zope/interface/interface.py:385
MethoddirectlyProvidedBy
Return the interfaces directly provided by the given object. The value returned is an `IDeclaration`. .. seealso:: `zope.in
src/zope/interface/interfaces.py:675
MethoddirectlyProvides
Declare interfaces declared directly for an object. The arguments after the object are one or more interfaces or interface s
src/zope/interface/interfaces.py:684
MethoddoFoo
(o)
src/zope/interface/tests/test_declarations.py:85
Methoddst
Return 0 if DST is not in effect, or the DST offset (in minutes eastward) if DST is in effect.
src/zope/interface/common/idatetime.py:406
Methoddst
Return 0 if DST is not in effect, or the DST offset (in minutes eastward) if DST is in effect. If tzinfo is None, returns None, else
src/zope/interface/common/idatetime.py:563
Methoddst
Return the daylight saving time (DST) adjustment, in minutes east of UTC, or None if DST information isn't known.
src/zope/interface/common/idatetime.py:599
Methodexceptions
(self)
src/zope/interface/exceptions.py:252
Methodextends
Test whether a specification extends another The specification extends other if it has other as a base interface or if one of it's ba
src/zope/interface/interfaces.py:213
Methodfactory
(self)
src/zope/interface/registry.py:738
Methodfactory
(*args)
src/zope/interface/tests/test_adapter.py:1909
Methodflattened
Return an iterator of all included and extended interfaces
src/zope/interface/declarations.py:95
Methodfoo
()
src/zope/interface/tests/test_declarations.py:2130
Methodfoo
DOCSTRING
src/zope/interface/tests/test_interface.py:2837
Methodfoo
()
src/zope/interface/tests/test_advice.py:93
Methodfromordinal
Return the date corresponding to the proleptic Gregorian ordinal. January 1 of year 1 has ordinal 1. `ValueError` is raised unless
src/zope/interface/common/idatetime.py:98
Methodfromordinal
Return the datetime from the proleptic Gregorian ordinal. January 1 of year 1 has ordinal 1. `ValueError` is raised unless 1 <= ordin
src/zope/interface/common/idatetime.py:299
Methodfromtimestamp
Return the local date from a POSIX timestamp (like time.time()) This may raise `ValueError`, if the timestamp is out of the range of
src/zope/interface/common/idatetime.py:88
Methodfromtimestamp
Return the local date and time corresponding to the POSIX timestamp. Same as is returned by time.time(). If optional argument tz is None or
src/zope/interface/common/idatetime.py:266
Methodfromutc
Return an equivalent datetime in self's local time.
src/zope/interface/common/idatetime.py:609
Methodget
Look up the description for a name If the named attribute is not defined, the default is returned.
src/zope/interface/interfaces.py:257
MethodgetAdapter
Look for a named adapter to an interface for an object If a matching adapter cannot be found, a `ComponentLookupError` is raised.
src/zope/interface/interfaces.py:1020
MethodgetAdapters
Look for all matching adapters to a provided interface for objects Return an iterable of name-adapter pairs for adapters that provide
src/zope/interface/interfaces.py:1042
MethodgetAllUtilitiesRegisteredFor
Return all registered utilities for an interface This includes overridden utilities. An iterable of utility instances is returned.
src/zope/interface/interfaces.py:1075
MethodgetMultiAdapter
Look for a multi-adapter to an interface for multiple objects If a matching adapter cannot be found, a `ComponentLookupError` is rais
src/zope/interface/interfaces.py:1035
MethodgetSignatureInfo
Returns the signature information. This method returns a dictionary with the following string keys: - positional A seque
src/zope/interface/interfaces.py:164
MethodgetSignatureString
Return a signature string suitable for inclusion in documentation. This method returns the function signature string. For example, if you
src/zope/interface/interfaces.py:181
MethodgetTaggedValue
Returns the value associated with *tag*. Raise a `KeyError` if the tag isn't set. If the object has a notion of inheritance, this se
src/zope/interface/interfaces.py:90
MethodgetTaggedValue
Returns the value associated with 'tag'.
src/zope/interface/interface.py:926
MethodgetTaggedValueTags
Returns a collection of all tags in no particular order. If the object has a notion of inheritance, this includes all the in
src/zope/interface/interfaces.py:113
MethodgetTaggedValueTags
Returns a list of all tags.
src/zope/interface/interface.py:933
MethodgetUtilitiesFor
Look up the registered utilities that provide an interface. Returns an iterable of name-utility pairs.
src/zope/interface/interfaces.py:1069
Methodhad_inconsistency
(self)
src/zope/interface/ro.py:317
Methodhandle
Call handlers for the given objects Handlers registered for the given objects are called.
src/zope/interface/interfaces.py:1057
MethodimplementedBy
Return the interfaces implemented for a class's instances. The value returned is an `IDeclaration`. .. seealso:: `zope.inte
src/zope/interface/interfaces.py:582
MethodimplementedBy
Test whether the specification is implemented by a class or factory. Raise TypeError if argument is neither a class nor a callable.
src/zope/interface/interface.py:165
Methodimplementer
Create a decorator for declaring interfaces implemented by a factory. A callable is returned that makes an implements declar
src/zope/interface/interfaces.py:630
Methodimplementer_only
Create a decorator for declaring the only interfaces implemented. A callable is returned that makes an implements declaration on
src/zope/interface/interfaces.py:665
Methodinterface
(self)
src/zope/interface/exceptions.py:64
Functioninterfacemethod
Convert a method specification to an actual method of the interface. This is a decorator that functions like `staticmethod` et al. The
src/zope/interface/interface.py:673
Methodinterfacemethod
A decorator that transforms a method specification into an implementation method. This is used to override methods of ``Inte
src/zope/interface/interfaces.py:537
Methodinterfaces
Return an iterator for the interfaces in the specification.
src/zope/interface/interface.py:836
Methodinvariant
Attach an invariant checker function to an interface while defining it. Invariants can later be validated against particular impleme
src/zope/interface/interfaces.py:515
MethodisOrExtends
Is the interface the same as or extend the given interface
src/zope/interface/interface.py:173
Functionis_consistent
Is the resolution order for *C*, consistent according to C3. Order as computed by :func:`ro`.
src/zope/interface/ro.py:717
Methodisocalendar
Return a 3-tuple, (ISO year, ISO week number, ISO weekday). The ISO calendar is a widely used variant of the Gregorian calendar. See
src/zope/interface/common/idatetime.py:173
Methodisocalendar
Return a 3-tuple, (ISO year, ISO week number, ISO weekday). The same as self.date().isocalendar().
src/zope/interface/common/idatetime.py:441
Methodisoformat
Return a string representing the date in ISO 8601 format. This is 'YYYY-MM-DD'. For example, ``date(2002, 12, 4).isoformat() == '2002
src/zope/interface/common/idatetime.py:192
← previousnext →801–900 of 1,810, ranked by callers