]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Cleanup socketmodule.c
authorVictor Stinner <victor.stinner@gmail.com>
Mon, 12 Sep 2016 09:45:59 +0000 (11:45 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Mon, 12 Sep 2016 09:45:59 +0000 (11:45 +0200)
commit288b5bf62431b24faaa9524969c8b762a2c43b8c
tree19cd9ed00243c84e42f81384e716a9744a6cfdde
parenteece2229e270c14d7e2df8c1ac64b96d108f7dac
Cleanup socketmodule.c

Issue #27744:

* PEP 7: add {...} around if blocks
* assign variables and then check their value in if() to make the code easier
  to read and to debug.
Modules/socketmodule.c