diff options
author | Stefan Behnel <stefan_ml@behnel.de> | 2017-10-29 20:14:33 +0100 |
---|---|---|
committer | Stefan Behnel <stefan_ml@behnel.de> | 2017-10-29 20:14:33 +0100 |
commit | 94acc16165949becb94ad900c01c63fa1ae80368 (patch) | |
tree | 509ae0667bba11b99ff5ee3631417dd328dc105a | |
parent | 949b413351dc7b638420abcc3e35c68cea3d8b7b (diff) | |
download | cython-94acc16165949becb94ad900c01c63fa1ae80368.tar.gz |
Reformat code.
-rw-r--r-- | Cython/Compiler/Symtab.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Cython/Compiler/Symtab.py b/Cython/Compiler/Symtab.py index ef69896a5..d9e7c4340 100644 --- a/Cython/Compiler/Symtab.py +++ b/Cython/Compiler/Symtab.py @@ -35,13 +35,13 @@ iso_c99_keywords = set( def c_safe_identifier(cname): # There are some C limitations on struct entry names. - if ((cname[:2] == '__' - and not (cname.startswith(Naming.pyrex_prefix) - or cname in ('__weakref__', '__dict__'))) - or cname in iso_c99_keywords): + if ((cname[:2] == '__' and not (cname.startswith(Naming.pyrex_prefix) + or cname in ('__weakref__', '__dict__'))) + or cname in iso_c99_keywords): cname = Naming.pyrex_prefix + cname return cname + class BufferAux(object): writable_needed = False |