[docs] [issue14824] reprlib documentation references string module

Jasper St. Pierre report at bugs.python.org
Wed May 16 07:52:24 CEST 2012

New submission from Jasper St. Pierre <jstpierre at mecheye.net>:


Formatting methods for specific types are implemented as methods with a name based on the type name. In the method name, TYPE is replaced by string.join(string.split(type(obj).__name__, '_')). Dispatch to these methods is handled by repr1(). Type-specific methods which need to recursively format a value should call self.repr1(subobj, level - 1).


assignee: docs at python
components: Documentation
messages: 160805
nosy: docs at python, magcius
priority: normal
severity: normal
status: open
title: reprlib documentation references string module
versions: Python 3.4

Python tracker <report at bugs.python.org>

More information about the docs mailing list