summaryrefslogtreecommitdiffstats
path: root/Objects/cellobject.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-01-19 11:37:13 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2017-01-19 11:37:13 (GMT)
commit7dc6a5f50aa47d32a75941dcb091eabe7958b2a1 (patch)
treec909658d7f5e9dc17bac36ef8552132b0cdd81de /Objects/cellobject.c
parent06d34393c2f1f28bf97873418e2b981e7b188811 (diff)
downloadcpython-7dc6a5f50aa47d32a75941dcb091eabe7958b2a1.zip
cpython-7dc6a5f50aa47d32a75941dcb091eabe7958b2a1.tar.gz
cpython-7dc6a5f50aa47d32a75941dcb091eabe7958b2a1.tar.bz2
dict.get() and dict.setdefault() now use AC
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, /)
Diffstat (limited to 'Objects/cellobject.c')
0 files changed, 0 insertions, 0 deletions