Commit 8cf109c0 authored by Jeroen Demeyer's avatar Jeroen Demeyer Committed by Stefan Behnel

Fix PY_HEX_VERSION -> PY_VERSION_HEX (GH-3071)

parent dfeed35a
......@@ -508,7 +508,7 @@ Features added
In this case, it is also automatically mapped to ``%r`` in Python 2.x.
* New C macro ``CYTHON_HEX_VERSION`` to access Cython's version in the same style as
``PY_HEX_VERSION``.
``PY_VERSION_HEX``.
* Constants in ``libc.math`` are now declared as ``const`` to simplify their handling.
......
......@@ -474,7 +474,7 @@ def raise_error_if_module_name_forbidden(full_module_name):
def build_hex_version(version_string):
"""
Parse and translate '4.3a1' into the readable hex representation '0x040300A1' (like PY_HEX_VERSION).
Parse and translate '4.3a1' into the readable hex representation '0x040300A1' (like PY_VERSION_HEX).
"""
# First, parse '4.12a1' into [4, 12, 0, 0xA01].
digits = []
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment