Searched refs:__oct__ (Results 1 – 11 of 11) sorted by relevance
287 def __oct__(self): member in FormatTest.test_format.Foobar325 def __oct__(self): member in FormatTest.test_invalid_special_methods.X
108 def __oct__(self, *args): member in AllTests502 __oct__ = __int__ variable in ClassTests.testBadTypeReturned.BadTypeClass
60 Works like the built-in :func:`oct`, but instead of :meth:`__oct__` it will
28 __oct__ and __hex__.
776 * The :meth:`__oct__` and :meth:`__hex__` special methods are removed
2767 :meth:`__hex__` or :meth:`__oct__` methods, these versions will
1202 oct(s) = __oct__(s) hex(s) = __hex__(s)
2779 __oct__, and __hex__ are now checked. Returning an invalid type
2227 .. method:: object.__oct__(self)
2763 :meth:`__hex__` or :meth:`__oct__` methods, these versions will
17167 - Removed the __oct__ and __hex__ special methods and added a bin()20163 __oct__, and __hex__ are now checked. Returning an invalid type