Skip to content

Commit

Permalink
Remove from __future__ imports in examples
Browse files Browse the repository at this point in the history
Leftover from full Python 3 transition
  • Loading branch information
eliben committed May 30, 2023
1 parent 670979b commit a9f073e
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 11 deletions.
1 change: 0 additions & 1 deletion examples/c-to-c.py
Expand Up @@ -7,7 +7,6 @@
# Eli Bendersky [https://eli.thegreenplace.net/]
# License: BSD
#------------------------------------------------------------------------------
from __future__ import print_function
import sys

# This is not required if you've installed pycparser into
Expand Down
2 changes: 0 additions & 2 deletions examples/c_json.py
Expand Up @@ -34,8 +34,6 @@
# }
# }
#------------------------------------------------------------------------------
from __future__ import print_function

import json
import sys
import re
Expand Down
1 change: 0 additions & 1 deletion examples/dump_ast.py
Expand Up @@ -6,7 +6,6 @@
# Eli Bendersky [https://eli.thegreenplace.net/]
# License: BSD
#-----------------------------------------------------------------
from __future__ import print_function
import argparse
import sys

Expand Down
1 change: 0 additions & 1 deletion examples/explore_ast.py
Expand Up @@ -12,7 +12,6 @@
# Eli Bendersky [https://eli.thegreenplace.net/]
# License: BSD
#-----------------------------------------------------------------
from __future__ import print_function
import sys

# This is not required if you've installed pycparser into
Expand Down
1 change: 0 additions & 1 deletion examples/func_calls.py
Expand Up @@ -7,7 +7,6 @@
# Eli Bendersky [https://eli.thegreenplace.net/]
# License: BSD
#-----------------------------------------------------------------
from __future__ import print_function
import platform
import sys

Expand Down
1 change: 0 additions & 1 deletion examples/func_defs.py
Expand Up @@ -10,7 +10,6 @@
# Eli Bendersky [https://eli.thegreenplace.net/]
# License: BSD
#-----------------------------------------------------------------
from __future__ import print_function
import sys

# This is not required if you've installed pycparser into
Expand Down
2 changes: 0 additions & 2 deletions examples/func_defs_add_param.py
Expand Up @@ -7,8 +7,6 @@
# Eli Bendersky [https://eli.thegreenplace.net/]
# License: BSD
#-----------------------------------------------------------------
from __future__ import print_function

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

Expand Down
1 change: 0 additions & 1 deletion examples/rewrite_ast.py
Expand Up @@ -6,7 +6,6 @@
# Eli Bendersky [https://eli.thegreenplace.net/]
# License: BSD
#-----------------------------------------------------------------
from __future__ import print_function
import sys

sys.path.extend(['.', '..'])
Expand Down
1 change: 0 additions & 1 deletion examples/serialize_ast.py
Expand Up @@ -7,7 +7,6 @@
# Eli Bendersky [https://eli.thegreenplace.net/]
# License: BSD
#-----------------------------------------------------------------
from __future__ import print_function
import pickle
import sys

Expand Down

0 comments on commit a9f073e

Please sign in to comment.