[docs] [issue21232] Use of '1' instead of 'True' as 'splitlines' argument in difflib documentation

Jayanth Koushik report at bugs.python.org
Tue Apr 15 08:10:31 CEST 2014


New submission from Jayanth Koushik:

In the difflib documentation, multiple uses of 'splitlines' use '1' as the 'keepends' argument. In Python 2.x, 1 is not guaranteed to be True and while this is guaranteed in 3.x, it would be much clearer to specify the argument as 'True'.

----------

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


More information about the docs mailing list