This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric.araujo
Recipients Paddy McCarthy, docs@python, eric.araujo
Date 2018-04-06.16:33:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1523032398.05.0.682650639539.issue33235@psf.upfronthosting.co.za>
In-reply-to
Content
Note that if we switch the order like you propose, we don’t need to use dict.get:


  set D[k]=d if k not in D then return D[k]


I suspect the current doc was written the way it is because it matches the actual implementation.
History
Date User Action Args
2018-04-06 16:33:18eric.araujosetrecipients: + eric.araujo, docs@python, Paddy McCarthy
2018-04-06 16:33:18eric.araujosetmessageid: <1523032398.05.0.682650639539.issue33235@psf.upfronthosting.co.za>
2018-04-06 16:33:18eric.araujolinkissue33235 messages
2018-04-06 16:33:18eric.araujocreate