Terry J. Reedy <tjre...@udel.edu> added the comment: Here is a pretty minimal patch to expose bjunk and bpopular as attributes and document them along with b2j, which is already exposed but not documented.
I suppose the proposed paragraph could be formatted as a list, perhaps after ":class:`SequenceMatcher` objects have the following methods:" with 'methods' expanded to 'attributes and methods'. But I do not know how to do that and personally prefer what I wrote. However, Georg, I am adding you as nosy so you can comment on the doc addition *before* I commit this tomorrow, to get it in the beta. Still to do: improve the doctests, including those added as part of #2986, to use the exposed sets (they are already implicitly tested by the existing tests); deprecate the two obsolete function attributes, as discussed on pydev. The docstrings and code comments might stand revision, and there is an XXX todo in the doc yet. ---------- keywords: +patch nosy: +georg.brandl stage: unit test needed -> commit review Added file: http://bugs.python.org/file19915/difflib.10534.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10534> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com