A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2011-April/111037.html below:

[Python-Dev] [Python-checkins] cpython (3.2): Closes #11858: configparser.ExtendedInterpolation and section case.

[Python-Dev] [Python-checkins] cpython (3.2): Closes #11858: configparser.ExtendedInterpolation and section case. [Python-Dev] [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-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4