aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Include/internal/pycore_runtime_init.h
diff options
context:
space:
mode:
authorEric Wieser <wieser.eric@gmail.com>2023-04-22 17:32:47 +0100
committerGitHub <noreply@github.com>2023-04-22 17:32:47 +0100
commit3d2a46845b67407e2436d910b2e1740c34f4f10d (patch)
tree607d43aa0a30a293fcffc2623453cc7787687edd /Include/internal/pycore_runtime_init.h
parentcaed49448d195565940caf198cf0edda65ee5679 (diff)
downloadcpython-3d2a46845b67407e2436d910b2e1740c34f4f10d.tar.gz
cpython-3d2a46845b67407e2436d910b2e1740c34f4f10d.zip
gh-83791: Raise TypeError for len(memoryview_0d) (#18463)
Changes the behaviour of `len` on a zero-dimensional `memoryview` to raise `TypeError`. Previously, `len` would return `1`.
Diffstat (limited to 'Include/internal/pycore_runtime_init.h')
0 files changed, 0 insertions, 0 deletions