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@python
components: Documentation
messages: 230725
nosy: chfoo, docs@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue22803>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to