Repository URL to install this package:
|
Version:
4.1.2 ▾
|
cdocutils.nodes
document
q)q}q(UtagnameqUdocumentqUreporterqNU
attributesq}q(Udupnamesq ]Ubackrefsq
]UsourceX= /home/tseaver/projects/Zope/Z3/zope.interface/docs/verify.rstqUidsq]Uclassesq
]Unamesq]uUparse_messagesq]qU
decorationqNU citationsq]qU rawsourceqU U nametypesq}q(X verifying classesqNX testing for attributesqNX verifying objectsqNX# verifying interface implementationsqNuUsettingsq(cdocutils.frontend
Values
qoq}q(Upep_referencesqNUoutput_encoding_error_handlerq Ustrictq!U
halt_levelq"KU
source_urlq#NU
dump_settingsq$NUdoctitle_xformq%Udump_pseudo_xmlq&NU tab_widthq'KU id_prefixq(U Utitleq)NUembed_stylesheetq*U
docinfo_xformq+KUfootnote_backlinksq,KUerror_encodingq-UUTF-8q.Uauto_id_prefixq/Uidq0U
language_codeq1Uenq2U datestampq3NUdump_transformsq4NUoutput_encodingq5Uutf-8q6Uexit_status_levelq7KUstrict_visitorq8NU_disable_configq9NUfile_insertion_enabledq:U tracebackq;Urecord_dependenciesq<NUstrip_commentsq=NUdebugq>NU generatorq?NUgettext_compactq@UenvqANU
strip_classesqBNUpep_file_url_templateqCUpep-%04dqDUinput_encoding_error_handlerqEh!Uexpose_internalsqFNUrfc_referencesqGNU
toc_backlinksqHUentryqIUtrim_footnote_reference_spaceqJU_sourceqKhUwarning_streamqLNUinput_encodingqMU utf-8-sigqNUsectsubtitle_xformqOUsource_linkqPNUconfigqQNU
sectnum_xformqRKUerror_encoding_error_handlerqSUbackslashreplaceqTU
_config_filesqU]Udump_internalsqVNUsmart_quotesqWUcloak_email_addressesqXUraw_enabledqYKUstrip_elements_with_classesqZNUpep_base_urlq[U https://www.python.org/dev/peps/q\Ureport_levelq]KUrfc_base_urlq^Uhttps://tools.ietf.org/html/q_U_destinationq`NUsyntax_highlightqaUlongqbubUautofootnote_refsqc]qdU
footnote_refsqe}qfUid_startqgKU
citation_refsqh}qiUsymbol_footnote_refsqj]qkUtransform_messagesql]qmU footnotesqn]qoUnameidsqp}qq(hUverifying-classesqrhUtesting-for-attributesqshUverifying-objectsqthU#verifying-interface-implementationsquuUrefnamesqv}qwUtransformerqxNUidsqy}qz(hscdocutils.nodes
section
q{)q|}q}(hhhUsectionq~h}q(h
]h ]h]qhah]qhsah
]uUlineqK UsourceqhhU Uparentqh{)q
}q(hhhh~h}q(h
]h ]h]qhah]qhtah
]uhKhhhU hh{)q}q(hhhh~h}q(h
]h ]h]qhah]qhuah
]uhKhhhU hhUchildrenq]q(cdocutils.nodes
title
q)q}q(hhhh)h}q(h
]h ]h]h]h
]uhKhhhX# Verifying interface implementationsqhhh]qcdocutils.nodes
Text
qX# Verifying interface implementationsq
q}q(hhhhubaubcdocutils.nodes
paragraph
q)q}q(hhhU paragraphqh}q(h
]h ]h]h]h
]uhKhhhX The ``zope.interface.verify`` module provides functions that test whether a
given interface is implemented by a class or provided by an object, resp.hhh]q (hX The q¡
q¢}q£(hX The hhubcdocutils.nodes
literal
q¤)q¥}q¦(hX ``zope.interface.verify``hUliteralq§h}q¨(h
]h ]h]h]h
]uhhh]q©hX zope.interface.verifyqª
q«}q¬(hU hh¥ubaubhXx module provides functions that test whether a
given interface is implemented by a class or provided by an object, resp.q
q®}q¯(hXx module provides functions that test whether a
given interface is implemented by a class or provided by an object, resp.hhubeubh{)q°}q±(hhhh~h}q²(h
]h ]h]q³hah]q´hrah
]uhK
hhhU hhh]qµ(h)q¶}q·(hhhh)h}q¸(h
]h ]h]h]h
]uhK
hhhX Verifying classesq¹hh°h]qºhX Verifying classesq»
q¼}q½(hh¹hh¶ubaubh)q¾}q¿(hhhhh}qÀ(h
]h ]h]h]h
]uhKhhhXN This is covered by unit tests defined in ``zope.interface.tests.test_verify``.qÁhh°h]qÂ(hX) This is covered by unit tests defined in qÅqÄ}qÅ(hX) This is covered by unit tests defined in hh¾ubh¤)qÆ}qÇ(hX$ ``zope.interface.tests.test_verify``hh§h}qÈ(h
]h ]h]h]h
]uhh¾h]qÉhX zope.interface.tests.test_verifyqʅqË}qÌ(hU hhÆubaubhX .
qÍ}qÎ(hX .hh¾ubeubeubh
eubh]qÏ(h)qÐ}qÑ(hhhh)h}qÒ(h
]h ]h]h]h
]uhKhhhX Verifying objectsqÓhh
h]qÔhX Verifying objectsqՅqÖ}q×(hhÓhhÐubaubh)qØ}qÙ(hhhhh}qÚ(h
]h ]h]h]h
]uhKhhhX" An object provides an interface ifqÛhh
h]qÜhX" An object provides an interface ifq݅qÞ}qß(hhÛhhØubaubcdocutils.nodes
bullet_list
qà)qá}qâ(hhhUbullet_listqãh}qä(h ]h
]h
]h]UbulletqåX -h]uhKhhhU hh
h]qæ(cdocutils.nodes
list_item
qç)qè}qé(hhhU list_itemqêh}që(h
]h ]h]h]h
]uhNhhhX| either its class declares that it implements the interfaces, or the object
declares that it directly provides the interface
hháh]qìh)qí}qî(hhh}qï(h
]h ]h]h]h
]uhKhhhX{ either its class declares that it implements the interfaces, or the object
declares that it directly provides the interfaceqðhhèh]qñhX{ either its class declares that it implements the interfaces, or the object
declares that it directly provides the interfaceqò
qó}qô(hhðhhíubaubaubhç)qõ}qö(hhhhêh}q÷(h
]h ]h]h]h
]uhNhhhX= the object defines all the methods required by the interface
hháh]qøh)qù}qú(hhh}qû(h
]h ]h]h]h
]uhKhhhX<