• Raymond Hettinger's avatar
    Fix-up the _from_iterable() method to return instances of the subclass where it is used. · 8284c4a7
    Raymond Hettinger yazdı
    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.
    8284c4a7
Adı
Son kayıt (commit)
Son güncelleme
Demo Loading commit data...
Doc Loading commit data...
Grammar Loading commit data...
Include Loading commit data...
Lib Loading commit data...
Mac Loading commit data...
Misc Loading commit data...
Modules Loading commit data...
Objects Loading commit data...
PC Loading commit data...
PCbuild Loading commit data...
Parser Loading commit data...
Python Loading commit data...
Tools Loading commit data...
.hgsvnexternals Loading commit data...
.hgtags Loading commit data...
INTBENCH Loading commit data...
LICENSE Loading commit data...
Makefile.pre.in Loading commit data...
README Loading commit data...
RELNOTES Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
install-sh Loading commit data...
pyconfig.h.in Loading commit data...
runtests.sh Loading commit data...
setup.py Loading commit data...