diff options
author | Guido van Rossum <guido@python.org> | 1992-09-20 21:43:47 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1992-09-20 21:43:47 (GMT) |
commit | 66122d2dae055a333d8c755b2a154a5299f078e5 (patch) | |
tree | e40d44debf307b49e72e8ecf0e1647461af72610 /Doc/ref | |
parent | 7a461e5aaf011243d9ac2658e4172e316b031eb9 (diff) | |
download | cpython-66122d2dae055a333d8c755b2a154a5299f078e5.zip cpython-66122d2dae055a333d8c755b2a154a5299f078e5.tar.gz cpython-66122d2dae055a333d8c755b2a154a5299f078e5.tar.bz2 |
__oct__ and __hex__
Diffstat (limited to 'Doc/ref')
-rw-r--r-- | Doc/ref/ref3.tex | 5 |
1 files changed, 5 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} |