From ede7539264d75f534e85d3c7689a273436f64121 Mon Sep 17 00:00:00 2001 From: Eli Bendersky Date: Fri, 20 Dec 2024 05:48:17 -0800 Subject: [PATCH] Tweak comments of examples --- examples/c_json.py | 1 - examples/cdecl.py | 1 - examples/explore_ast.py | 1 - examples/using_cpp_libc.py | 4 +--- examples/using_gcc_E_libc.py | 1 - 5 files changed, 1 insertion(+), 7 deletions(-) diff --git a/examples/c_json.py b/examples/c_json.py index 7eafdc58..a79de06d 100644 --- a/examples/c_json.py +++ b/examples/c_json.py @@ -40,7 +40,6 @@ # This is not required if you've installed pycparser into # your site-packages/ with setup.py -# sys.path.extend(['.', '..']) from pycparser import parse_file, c_ast diff --git a/examples/cdecl.py b/examples/cdecl.py index 351efc26..d25d9008 100644 --- a/examples/cdecl.py +++ b/examples/cdecl.py @@ -37,7 +37,6 @@ # This is not required if you've installed pycparser into # your site-packages/ with setup.py -# sys.path.extend(['.', '..']) from pycparser import c_parser, c_ast diff --git a/examples/explore_ast.py b/examples/explore_ast.py index 49e7fe45..8d746ab4 100644 --- a/examples/explore_ast.py +++ b/examples/explore_ast.py @@ -16,7 +16,6 @@ # This is not required if you've installed pycparser into # your site-packages/ with setup.py -# sys.path.extend(['.', '..']) from pycparser import c_parser diff --git a/examples/using_cpp_libc.py b/examples/using_cpp_libc.py index e930f5bc..4eeb14b0 100644 --- a/examples/using_cpp_libc.py +++ b/examples/using_cpp_libc.py @@ -1,8 +1,7 @@ #----------------------------------------------------------------- # pycparser: using_cpp_libc.py # -# Shows how to use the provided 'cpp' (on Windows, substitute for -# the 'real' cpp if you're on Linux/Unix) and "fake" libc includes +# Shows how to use 'cpp' (the C pre-processor binary) and "fake" libc includes # to parse a file that includes standard C headers. # # Eli Bendersky [https://eli.thegreenplace.net/] @@ -12,7 +11,6 @@ # This is not required if you've installed pycparser into # your site-packages/ with setup.py -# sys.path.extend(['.', '..']) from pycparser import parse_file diff --git a/examples/using_gcc_E_libc.py b/examples/using_gcc_E_libc.py index bba4d3d0..0fabd4bc 100644 --- a/examples/using_gcc_E_libc.py +++ b/examples/using_gcc_E_libc.py @@ -12,7 +12,6 @@ # This is not required if you've installed pycparser into # your site-packages/ with setup.py -# sys.path.extend(['.', '..']) from pycparser import parse_file