[Python-checkins] cpython (3.2): Closes #11858: configparser.ExtendedInterpolation and section case.
Éric Araujo
merwok at netwok.org
Thu Apr 28 16:22:02 CEST 2011
Hi,
> http://hg.python.org/cpython/rev/57c076ab4bbd
> user: Łukasz Langa <lukasz at langa.pl>
> --- a/Lib/test/test_cfgparser.py
> +++ b/Lib/test/test_cfgparser.py
> @@ -20,10 +20,16 @@
> def values(self):
> return [i[1] for i in self.items()]
>
> - def iteritems(self): return iter(self.items())
> - def iterkeys(self): return iter(self.keys())
> + def iteritems(self):
> + return iter(self.items())
> +
> + def iterkeys(self):
> + return iter(self.keys())
> +
> + def itervalues(self):
> + return iter(self.values())
> +
The dict methods in that subclass could probably be cleaned up.
Regards
More information about the Python-checkins
mailing list