]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
__oct__ and __hex__
authorGuido van Rossum <guido@python.org>
Sun, 20 Sep 1992 21:43:47 +0000 (21:43 +0000)
committerGuido van Rossum <guido@python.org>
Sun, 20 Sep 1992 21:43:47 +0000 (21:43 +0000)
Doc/ref/ref3.tex
Doc/ref3.tex

index fff448e7018836626f64d0a00c88b56f0dbff5c8..96eaa1da43ad172ad5db03458405df0f39997404 100644 (file)
@@ -702,4 +702,9 @@ currently it doesn't --- hence this strange exception.}
 Called to implement the built-in functions \verb\int()\, \verb\long()\
 and \verb\float()\.  Should return a value of the appropriate type.
 
+\item[\tt __oct__(self)]\itemjoin
+\item[\tt __hex__(self)]\itembreak
+Called to implement the built-in functions \verb\oct()\ and
+\verb\hex()\.  Should return a string value.
+
 \end{description}
index fff448e7018836626f64d0a00c88b56f0dbff5c8..96eaa1da43ad172ad5db03458405df0f39997404 100644 (file)
@@ -702,4 +702,9 @@ currently it doesn't --- hence this strange exception.}
 Called to implement the built-in functions \verb\int()\, \verb\long()\
 and \verb\float()\.  Should return a value of the appropriate type.
 
+\item[\tt __oct__(self)]\itemjoin
+\item[\tt __hex__(self)]\itembreak
+Called to implement the built-in functions \verb\oct()\ and
+\verb\hex()\.  Should return a string value.
+
 \end{description}