summaryrefslogtreecommitdiffstats
path: root/Lib/_MozillaCookieJar.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2008-02-06 20:47:09 (GMT)
committerRaymond Hettinger <python@rcn.com>2008-02-06 20:47:09 (GMT)
commit8284c4a7fb27efd55323513572e247a895a35ae1 (patch)
tree869a19baf90ce5fe8da4b3da03f037f025bd6a85 /Lib/_MozillaCookieJar.py
parentebcee3f94afabe89722b5aaea1e64f73eaed5859 (diff)
downloadcpython-8284c4a7fb27efd55323513572e247a895a35ae1.zip
cpython-8284c4a7fb27efd55323513572e247a895a35ae1.tar.gz
cpython-8284c4a7fb27efd55323513572e247a895a35ae1.tar.bz2
Fix-up the _from_iterable() method to return instances of the subclass where it is used.
In its previous form, it always returned instance of frozenset which makes this ABC nearly useless as a mixin. In its new form, it needs to be able to assume that the constructor will take a frozenset input. This will usually be true. If it is not, then only one method (this one) will need to be overriden by the subclass to let it know about the unique constructor signature. Will add info on this to the docs.
Diffstat (limited to 'Lib/_MozillaCookieJar.py')
0 files changed, 0 insertions, 0 deletions