edZddlZddlmZddlmZGddeZGddeZGd d eZGd d eZ Gd de Z y)z Interface definitions paralleling the abstract base classes defined in :mod:`numbers`. After this module is imported, the standard library types will declare that they implement the appropriate interface. .. versionadded:: 5.0.0 N) ABCInterface)optionalc$eZdZejZy)INumberN)__name__ __module__ __qualname__abcNumber?/usr/lib/python3/dist-packages/zope/interface/common/numbers.pyrr"s **Cr rc4eZdZejZedZy)IComplexcyz< Rarely implemented, even in builtin types. Nr r r r __complex__zIComplex.__complex__)r N)rrr r Complexrrr r rrr&s ++C   r rc<eZdZejZedZexZZy)IRealcyrr r r rrzIReal.__complex__3rr N) rrr r Realrr __floor____ceil__r r rrr0s) ((C   '&Ir rc$eZdZejZy) IRationalN)rrr r Rationalr r rrr< ,,Cr rc$eZdZejZy) IIntegralN)rrr r Integralr r rr!r!@rr r!) __doc__numbersr zope.interface.commonrrrrrrr!r r rr&sQ.*l w  'H ' r