From: Guido van Rossum Date: Sun, 20 Sep 1992 21:43:47 +0000 (+0000) Subject: __oct__ and __hex__ X-Git-Tag: v0.9.8~130 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=66122d2dae055a333d8c755b2a154a5299f078e5;p=thirdparty%2FPython%2Fcpython.git __oct__ and __hex__ --- diff --git a/Doc/ref/ref3.tex b/Doc/ref/ref3.tex index fff448e70188..96eaa1da43ad 100644 --- a/Doc/ref/ref3.tex +++ b/Doc/ref/ref3.tex @@ -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} diff --git a/Doc/ref3.tex b/Doc/ref3.tex index fff448e70188..96eaa1da43ad 100644 --- a/Doc/ref3.tex +++ b/Doc/ref3.tex @@ -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}