diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2013-03-19 23:44:04 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2013-03-19 23:44:04 (GMT) |
commit | f027a204b0eda96ac6cc2a6ebf9faaab209a981a (patch) | |
tree | 3046d959fe8321e419cecf157acccc00bde27dd3 /Lib/difflib.py | |
parent | ca038562be7affd9668365ecf12051b411679577 (diff) | |
download | cpython-f027a204b0eda96ac6cc2a6ebf9faaab209a981a.zip cpython-f027a204b0eda96ac6cc2a6ebf9faaab209a981a.tar.gz cpython-f027a204b0eda96ac6cc2a6ebf9faaab209a981a.tar.bz2 |
Issue #13248: removed deprecated and undocumented difflib.isbjunk, isbpopular.
Diffstat (limited to 'Lib/difflib.py')
-rw-r--r-- | Lib/difflib.py | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/Lib/difflib.py b/Lib/difflib.py index db5f82e..8097744 100644 --- a/Lib/difflib.py +++ b/Lib/difflib.py @@ -336,20 +336,6 @@ class SequenceMatcher: for elt in popular: # ditto; as fast for 1% deletion del b2j[elt] - def isbjunk(self, item): - "Deprecated; use 'item in SequenceMatcher().bjunk'." - warnings.warn("'SequenceMatcher().isbjunk(item)' is deprecated;\n" - "use 'item in SMinstance.bjunk' instead.", - DeprecationWarning, 2) - return item in self.bjunk - - def isbpopular(self, item): - "Deprecated; use 'item in SequenceMatcher().bpopular'." - warnings.warn("'SequenceMatcher().isbpopular(item)' is deprecated;\n" - "use 'item in SMinstance.bpopular' instead.", - DeprecationWarning, 2) - return item in self.bpopular - def find_longest_match(self, alo, ahi, blo, bhi): """Find longest matching block in a[alo:ahi] and b[blo:bhi]. |