diff options
-rw-r--r-- | Doc/ref/ref3.tex | 5 | ||||
-rw-r--r-- | Doc/ref3.tex | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/Doc/ref/ref3.tex b/Doc/ref/ref3.tex index fff448e..96eaa1d 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 fff448e..96eaa1d 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} |