[docs] [issue22803] textwrap.indent version added not documented

Christopher Foo report at bugs.python.org
Thu Nov 6 05:35:13 CET 2014


New submission from Christopher Foo:

I was running my program under CI and it failed under 3.2:

    text = textwrap.indent(text, '* ', predicate=lambda line: True)

    AttributeError: 'module' object has no attribute 'indent'

textwrap.indent appears to be a new feature in 3.3 but Doc/library/textwrap.rst is not documented with ".. versionadded:: 3.3"

----------
assignee: docs at python
components: Documentation
messages: 230725
nosy: chfoo, docs at python
priority: normal
severity: normal
status: open
title: textwrap.indent version added not documented
type: behavior
versions: Python 3.3, Python 3.4, Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22803>
_______________________________________


More information about the docs mailing list