Skip to content

Commit a9f073e

Browse files
committed
Remove from __future__ imports in examples
Leftover from full Python 3 transition
1 parent 670979b commit a9f073e

File tree

9 files changed

+0
-11
lines changed

9 files changed

+0
-11
lines changed

examples/c-to-c.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
# Eli Bendersky [https://eli.thegreenplace.net/]
88
# License: BSD
99
#------------------------------------------------------------------------------
10-
from __future__ import print_function
1110
import sys
1211

1312
# This is not required if you've installed pycparser into

examples/c_json.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@
3434
# }
3535
# }
3636
#------------------------------------------------------------------------------
37-
from __future__ import print_function
38-
3937
import json
4038
import sys
4139
import re

examples/dump_ast.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
# Eli Bendersky [https://eli.thegreenplace.net/]
77
# License: BSD
88
#-----------------------------------------------------------------
9-
from __future__ import print_function
109
import argparse
1110
import sys
1211

examples/explore_ast.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
# Eli Bendersky [https://eli.thegreenplace.net/]
1313
# License: BSD
1414
#-----------------------------------------------------------------
15-
from __future__ import print_function
1615
import sys
1716

1817
# This is not required if you've installed pycparser into

examples/func_calls.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
# Eli Bendersky [https://eli.thegreenplace.net/]
88
# License: BSD
99
#-----------------------------------------------------------------
10-
from __future__ import print_function
1110
import platform
1211
import sys
1312

examples/func_defs.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
# Eli Bendersky [https://eli.thegreenplace.net/]
1111
# License: BSD
1212
#-----------------------------------------------------------------
13-
from __future__ import print_function
1413
import sys
1514

1615
# This is not required if you've installed pycparser into

examples/func_defs_add_param.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
# Eli Bendersky [https://eli.thegreenplace.net/]
88
# License: BSD
99
#-----------------------------------------------------------------
10-
from __future__ import print_function
11-
1210
import sys
1311
sys.path.extend(['.', '..'])
1412

examples/rewrite_ast.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
# Eli Bendersky [https://eli.thegreenplace.net/]
77
# License: BSD
88
#-----------------------------------------------------------------
9-
from __future__ import print_function
109
import sys
1110

1211
sys.path.extend(['.', '..'])

examples/serialize_ast.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
# Eli Bendersky [https://eli.thegreenplace.net/]
88
# License: BSD
99
#-----------------------------------------------------------------
10-
from __future__ import print_function
1110
import pickle
1211
import sys
1312

0 commit comments

Comments
 (0)