[New-bugs-announce] [issue18601] Example "command-line interface to difflib" has typographical error

Stephen Paul Chappell report at bugs.python.org
Tue Jul 30 21:07:26 CEST 2013


New submission from Stephen Paul Chappell:

The example at the bottom is good but has a line with a bad variable it is name. It says:

    with open(fromlines) as fromf, open(tofile) as tof:
        fromlines, tolines = list(fromf), list(tof)

In the first line, fromlines does no even exist yet. should say:

    with open(fromlines) as fromf, open(tofile) as tof:
        from, tolines = list(fromf), list(tof)

----------
assignee: docs at python
components: Demos and Tools, Documentation
messages: 193948
nosy: Zero, docs at python
priority: normal
severity: normal
status: open
title: Example "command-line interface to difflib" has typographical error
versions: Python 3.3

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


More information about the New-bugs-announce mailing list