glthread: sync in glFlush for multiple contexts
[mesa.git] / src / mapi / glapi / gen / typeexpr.py
index 5ff9798dadc11bd47d505855684de445bd51a247..1f710ea9e7952b0425097998da0f203f3c632845 100644 (file)
@@ -26,7 +26,7 @@
 
 from __future__ import print_function
 
-import string, copy
+import copy
 
 class type_node(object):
     def __init__(self):
@@ -126,7 +126,7 @@ class type_expression(object):
 
         # Replace '*' with ' * ' in type_string.  Then, split the string
         # into tokens, separated by spaces.
-        tokens = string.split( string.replace( type_string, "*", " * " ) )
+        tokens = type_string.replace("*", " * ").split()
 
         const = 0
         t = None