SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 0 Python

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
T
Tzu-ping Chung committed
544fa15ea1b7b73068319bdb217b684e2fd7bacc
Parent: 898318b
Committed by Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> on 7/25/2019, 5:20:33 PM