]> granicus.if.org Git - python/commitdiff
Add Revision keyword.
authorMartin v. Löwis <martin@v.loewis.de>
Sat, 4 Dec 2010 09:11:41 +0000 (09:11 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Sat, 4 Dec 2010 09:11:41 +0000 (09:11 +0000)
Objects/typeslots.py

index 0e6ef1f9b82db9648b3ae92933b69302764f9bd6..686fb6fcf6eb003257f7bf0c9b5c243f733f2523 100644 (file)
@@ -3,6 +3,7 @@
 
 import sys, re
 
+print("/* Generated by typeslots.py $Revision$ */")
 res = {}
 for line in sys.stdin:
     m = re.match("#define Py_([a-z_]+) ([0-9]+)", line)