summaryrefslogtreecommitdiffstats
path: root/Doc/lib/librepr.tex
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2003-05-12 03:23:51 (GMT)
committerRaymond Hettinger <python@rcn.com>2003-05-12 03:23:51 (GMT)
commitbf3a75283ceffa3d54ac941dbf83869f0fa23027 (patch)
tree620ec866258a9d45824041c3e79a6a9c85b617e7 /Doc/lib/librepr.tex
parent73414a2705723b7d3e7ecc34bcb180a602577e5d (diff)
downloadcpython-bf3a75283ceffa3d54ac941dbf83869f0fa23027.zip
cpython-bf3a75283ceffa3d54ac941dbf83869f0fa23027.tar.gz
cpython-bf3a75283ceffa3d54ac941dbf83869f0fa23027.tar.bz2
Fix minor typos.
Diffstat (limited to 'Doc/lib/librepr.tex')
-rw-r--r--Doc/lib/librepr.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/lib/librepr.tex b/Doc/lib/librepr.tex
index 8dfd0b4..b71aae1 100644
--- a/Doc/lib/librepr.tex
+++ b/Doc/lib/librepr.tex
@@ -96,7 +96,7 @@ and methods which format specific object types.
Formatting methods for specific types are implemented as methods
with a name based on the type name. In the method name, \var{type}
is replaced by
- \code{string.join(string.split(type(\var{obj}).__name__, '_')}.
+ \code{string.join(string.split(type(\var{obj}).__name__, '_'))}.
Dispatch to these methods is handled by \method{repr1()}.
Type-specific methods which need to recursively format a value
should call \samp{self.repr1(\var{subobj}, \var{level} - 1)}.