[issue14332] Better explain "junk" concept in difflib doc

2012-03-16 Thread Weronika Patena
Weronika Patena added the comment: Ah, I see. True, the ndiff docstring doesn't actually explain what junk IS - I was just engaging in wishful thinking and assuming it did the thing I wanted. A better explanation would help. -- ___ Python tr

[issue14332] difflib.ndiff appears to ignore linejunk argument

2012-03-15 Thread Weronika Patena
New submission from Weronika Patena : According to difflib.ndiff help, the optional linejunk argument is "A function that should accept a single string argument, and return true iff the string is junk." Presumably the point is to ignore the junk lines in the comparison. But th