New submission from Yevhen Kuzmovych <kuzmovich.g...@gmail.com>:

The comment of `Mapping.get` method should state

'D.get(k[,d]) -> D[k] if k in D else d.  d defaults to None.'

instead of 

'D.get(k[,d]) -> D[k] if k in D, else d.  d defaults to None.' (note the comma 
before `else`.

----------
components: Library (Lib)
messages: 396478
nosy: kuzmovich.goog
priority: normal
severity: normal
status: open
title: Typo in the docstring of Mapping.get method
type: enhancement
versions: Python 3.10, Python 3.11, Python 3.6, Python 3.7, Python 3.8, Python 
3.9

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue44504>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to