]> granicus.if.org Git - python/commit
bpo-36385: Add ``elif`` sentence on to avoid multiple ``if`` (GH-12478)
authorEmmanuel Arias <emmanuelarias30@gmail.com>
Thu, 21 Mar 2019 04:39:17 +0000 (01:39 -0300)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 21 Mar 2019 04:39:17 +0000 (21:39 -0700)
commited5e29cba500c2336aacdb7c77953f1064235b72
treeee40b0a8e9bfe4a0efc98fa63830aea417756e08
parent2afb59861827a23c1b50e44022bb77291351c2f1
bpo-36385: Add ``elif`` sentence on to avoid multiple ``if`` (GH-12478)

Currently, when arguments on Parser/asdl_c.py are parsed
``ìf`` sentence is used. This PR Propose to use ``elif``
to avoid multiple evaluting of the ifs.

https://bugs.python.org/issue36385
Parser/asdl_c.py