[New-bugs-announce] [issue19068] Some built-in complex docstrings are not PEP-8 compatible

Marco Buttu report at bugs.python.org
Sun Sep 22 09:09:02 CEST 2013


New submission from Marco Buttu:

As reported in the title: 

>>> complex.conjugate.__doc__.splitlines()[-1]
'Returns the complex conjugate of its argument. (3-4j).conjugate() == 3+4j.'
>>> complex.__format__.__doc__.splitlines()[-1]
'Converts to a string according to format_spec.'

They should have been 'Return...' and 'Convert...'. Patch is attached

----------
assignee: docs at python
components: Documentation
files: complexobject.patch
keywords: patch
messages: 198245
nosy: docs at python, marco.buttu
priority: normal
severity: normal
status: open
title: Some built-in complex docstrings are not PEP-8 compatible
versions: Python 3.1, Python 3.2, Python 3.3
Added file: http://bugs.python.org/file31839/complexobject.patch

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


More information about the New-bugs-announce mailing list