diff options
-rw-r--r-- | Lib/difflib.py | 1 | ||||
-rw-r--r-- | Misc/NEWS | 10 |
2 files changed, 6 insertions, 5 deletions
diff --git a/Lib/difflib.py b/Lib/difflib.py index 63b42e9..7498e6f 100644 --- a/Lib/difflib.py +++ b/Lib/difflib.py @@ -34,6 +34,7 @@ __all__ = ['get_close_matches', 'ndiff', 'restore', 'SequenceMatcher', import heapq from collections import namedtuple as _namedtuple +from functools import reduce Match = _namedtuple('Match', 'a b size') @@ -60,11 +60,11 @@ Library - Changed code in the following modules/packages to remove warnings raised while running under the ``-3`` flag: aifc, asynchat, asyncore, bdb, bsddb, - ConfigParser, cookielib, DocXMLRPCServer, email, filecmp, fileinput, inspect, - logging, modulefinder, pdb, pickle, profile, pstats, pydoc, re, rlcompleter, - SimpleXMLRPCServer, shelve, socket, subprocess, sqlite3, tarfile, Tkinter, - test.test_support, textwrap, threading, tokenize, traceback, urlparse, - wsgiref, xml, xmlrpclib. + ConfigParser, cookielib, difflib, DocXMLRPCServer, email, filecmp, fileinput, + inspect, logging, modulefinder, pdb, pickle, profile, pstats, pydoc, re, + rlcompleter, SimpleXMLRPCServer, shelve, socket, subprocess, sqlite3, + tarfile, Tkinter, test.test_support, textwrap, threading, tokenize, + traceback, urlparse, wsgiref, xml, xmlrpclib. - Issue #3039: Fix tarfile.TarFileCompat.writestr() which always raised an AttributeError. |