diff options
author | Tzu-ping Chung <uranusjr@gmail.com> | 2019-07-26 01:20:33 +0800 |
---|---|---|
committer | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-07-25 10:20:33 -0700 |
commit | 544fa15ea1b7b73068319bdb217b684e2fd7bacc (patch) | |
tree | 1674fadbbe05e7a3af06e7b79c0127b4c0d749ef /Objects/classobject.c | |
parent | 898318b53d921298d1f1fcfa0f415844afbeb318 (diff) | |
download | cpython-git-544fa15ea1b7b73068319bdb217b684e2fd7bacc.tar.gz |
Swap 'if' branches so content matches to condition in importlib example (GH-14947)
Prior to this change the guard on an 'elif' used an assignment expression whose value was used in a later 'else' block, causing some confusion for people.
(Discussion on Twitter: https://twitter.com/brettsky/status/1153861041068994566.)
Automerge-Triggered-By: @brettcannon
Diffstat (limited to 'Objects/classobject.c')
0 files changed, 0 insertions, 0 deletions