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

2019-10-31 Thread Stephen Paul Chappell
Change by Stephen Paul Chappell : -- nosy: -Zero ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

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

2013-07-30 Thread R. David Murray
R. David Murray added the comment: Thanks for the report. Actually that first 'fromlines' should be 'fromfile'. Looks like someone made a typo when converting the example to use the 'with' statement. -- nosy: +r.david.murray resolution: -> fixed stage: -> committed/rejected status:

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

2013-07-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0e1f0faacb0d by R David Murray in branch '3.3': #18601: fix error made when difflib example was converted to use 'with'. http://hg.python.org/cpython/rev/0e1f0faacb0d New changeset c4f377d710da by R David Murray in branch 'default': Merge: #18601: f

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

2013-07-30 Thread Stephen Paul Chappell
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.