mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
remove __version__s dependent on subversion keyword expansion (closes #12221)
This commit is contained in:
parent
9e3e1c6e4e
commit
8c6f88efa2
13 changed files with 94 additions and 104 deletions
|
|
@ -1,4 +1,4 @@
|
|||
/* Generated by typeslots.py $Revision$ */
|
||||
/* Generated by typeslots.py */
|
||||
0,
|
||||
0,
|
||||
offsetof(PyHeapTypeObject, as_mapping.mp_ass_subscript),
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
import sys, re
|
||||
|
||||
print("/* Generated by typeslots.py $Revision$ */")
|
||||
print("/* Generated by typeslots.py */")
|
||||
res = {}
|
||||
for line in sys.stdin:
|
||||
m = re.match("#define Py_([a-z_]+) ([0-9]+)", line)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue