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/2014-April/134180.html below:

[Python-Dev] PEP 469: Restoring the iterkeys/values/items() methods

[Python-Dev] PEP 469: Restoring the iterkeys/values/items() methods [Python-Dev] PEP 469: Restoring the iterkeys/values/items() methodsAntoine Pitrou solipsis at pitrou.net
Sat Apr 19 15:04:14 CEST 2014
On Sat, 19 Apr 2014 11:41:35 +0000
Kristján Valur Jónsson <kristjan at ccpgames.com> wrote:
> Wouldn't "iterkeys" simply be an alias for "keys" and so on?

The PEP shows the following semantics:

    def iterkeys(self):
        return iter(self.keys())

    def itervalues(self):
        return iter(self.values())

    def iteritems(self):
        return iter(self.items())

Regards

Antoine.
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