mirror of
https://github.com/nigels-com/glew.git
synced 2024-11-22 22:05:06 +00:00
parse_xml.py touch-up for Python 3 (or Python 2)
This commit is contained in:
parent
1ab282a9d3
commit
8047ef41fa
@ -114,8 +114,8 @@ if __name__ == '__main__':
|
|||||||
dom = parse(i)
|
dom = parse(i)
|
||||||
api = findApi(dom, 'egl')
|
api = findApi(dom, 'egl')
|
||||||
|
|
||||||
print 'Found {} enums, {} commands, {} features and {} extensions.'.format(
|
print('Found {} enums, {} commands, {} features and {} extensions.'.format(
|
||||||
len(api[0]), len(api[1]), len(api[2]), len(api[3]))
|
len(api[0]), len(api[1]), len(api[2]), len(api[3])))
|
||||||
|
|
||||||
if len(options.core):
|
if len(options.core):
|
||||||
for i in api[2].keys():
|
for i in api[2].keys():
|
||||||
|
Loading…
Reference in New Issue
Block a user