summaryrefslogtreecommitdiff
path: root/Cython/Compiler/Naming.py
diff options
context:
space:
mode:
Diffstat (limited to 'Cython/Compiler/Naming.py')
-rw-r--r--Cython/Compiler/Naming.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Cython/Compiler/Naming.py b/Cython/Compiler/Naming.py
index 08fd36c5a..140fe0435 100644
--- a/Cython/Compiler/Naming.py
+++ b/Cython/Compiler/Naming.py
@@ -5,8 +5,10 @@
# Prefixes for generating C names.
# Collected here to facilitate ensuring uniqueness.
#
+from .. import __version__
pyrex_prefix = "__pyx_"
+cyversion = __version__.replace('.', '_')
codewriter_temp_prefix = pyrex_prefix + "t_"