mirror of
https://github.com/python/cpython.git
synced 2025-11-03 03:22:27 +00:00
Issue #29311: dict.get() and dict.setdefault() methods now use Argument Clinic to parse arguments. Their calling convention changes from METH_VARARGS to METH_FASTCALL which avoids the creation of a temporary tuple. The signature of docstrings is also enhanced. For example, get(...) becomes: get(self, key, default=None, /) |
||
|---|---|---|
| .. | ||
| bytearrayobject.c.h | ||
| bytesobject.c.h | ||
| dictobject.c.h | ||
| odictobject.c.h | ||
| unicodeobject.c.h | ||