Not too sure of this doc typo
April 26, 2020
12:37 a.m.
Hello, I am not sure but I this the polarity of the flag defined in the documentation for popitem() is reversed. I have just started learning Python.Regards,M.Shahabi
May 13, 2020
8:08 p.m.
Hi Maziar, On 4/26/20 2:37 AM, Maziar Shahabi via docs wrote:
Hello, I am not sure but I this the polarity of the flag defined in the documentation for popitem() is reversed.
Are you talking about OrderedDict [1]? If so, I don't see the flag being reversed, I read:
The popitem() method for ordered dictionaries returns and removes a (key, value) pair. The pairs are returned in LIFO order if last is true or FIFO order if false.
which looks Ok to me. [1]: https://docs.python.org/3/library/collections.html?highlight=popitem#collect... Bests, -- Julien Palard
2337
Age (days ago)
2354
Last active (days ago)
1 comments
2 participants
participants (2)
-
Julien Palard -
Maziar Shahabi