summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorPetr Viktorin <encukou@gmail.com>2019-06-02 23:31:12 (GMT)
committerGitHub <noreply@github.com>2019-06-02 23:31:12 (GMT)
commit7f4ae1b2cc60cb69938e7c88793b9e9a2dd36d93 (patch)
treefdbae6e040276df94d9febafd9e1a02ca512ffda /Lib
parent0d70227e419ab78c44d81b4ea6ae8aaf769470e6 (diff)
downloadcpython-7f4ae1b2cc60cb69938e7c88793b9e9a2dd36d93.zip
cpython-7f4ae1b2cc60cb69938e7c88793b9e9a2dd36d93.tar.gz
cpython-7f4ae1b2cc60cb69938e7c88793b9e9a2dd36d93.tar.bz2
bpo-37012: Clean up special cases in PyType_FromSpecWithBases slot assignments (GH-13496)
The main slot assignment loop is now if-else if ladder, making the control flow clearer. Based on suggestion by Victor Stinner in: https://github.com/python/cpython/pull/10304/#issuecomment-491123026
Diffstat (limited to 'Lib')
0 files changed, 0 insertions, 0 deletions