From 66122d2dae055a333d8c755b2a154a5299f078e5 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Sun, 20 Sep 1992 21:43:47 +0000 Subject: __oct__ and __hex__ --- Doc/ref/ref3.tex | 5 +++++ Doc/ref3.tex | 5 +++++ 2 files changed, 10 insertions(+) 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} -- cgit v0.12