Skip to content

PEP 653: Fix example. Use get(key, sentinel) instead of __getitem__(key) for mappings.#1902

Merged
markshannon merged 1 commit intopython:masterfrom
markshannon:pep-653-use-get-not-getitem
Mar 30, 2021
Merged

PEP 653: Fix example. Use get(key, sentinel) instead of __getitem__(key) for mappings.#1902
markshannon merged 1 commit intopython:masterfrom
markshannon:pep-653-use-get-not-getitem

Commits