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@python
components: Demos and Tools, Documentation
messages: 193948
nosy: Zero, docs@python
priority: normal
severity: normal
status: open
title: Example "command-line interface to difflib" has typographical error
versions: Python 3.3
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue18601>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com