diff options
author | Stefan Behnel <stefan_ml@behnel.de> | 2017-08-22 16:02:56 +0200 |
---|---|---|
committer | Stefan Behnel <stefan_ml@behnel.de> | 2017-08-22 16:02:56 +0200 |
commit | b540527f5f5760f5dfd1a2aa8fd761f3ba3bdbf7 (patch) | |
tree | 3613e94bddb2f4a752aeffcb070a89a3ee05e677 | |
parent | 6ff85d93157c7f4ff4f675380f4a326470c1175d (diff) | |
download | cython-b540527f5f5760f5dfd1a2aa8fd761f3ba3bdbf7.tar.gz |
Remove accidental left-over name "gs" from Shadow.py that should not be part of the pure mode types.
-rw-r--r-- | Cython/Shadow.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Cython/Shadow.py b/Cython/Shadow.py index 0001fcd72..4cb6125d2 100644 --- a/Cython/Shadow.py +++ b/Cython/Shadow.py @@ -422,10 +422,12 @@ void = typedef(int, "void") for t in int_types + float_types + complex_types + other_types: for i in range(1, 4): - gs["%s_%s" % ('p'*i, t)] = globals()[t]._pointer(i) + gs["%s_%s" % ('p'*i, t)] = gs[t]._pointer(i) void = typedef(None, "void") -NULL = p_void(0) +NULL = gs['p_void'](0) + +del gs integral = floating = numeric = _FusedType() |