aboutsummaryrefslogtreecommitdiffstats
path: root/examples/cdecl.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/cdecl.py')
-rw-r--r--examples/cdecl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/cdecl.py b/examples/cdecl.py
index 0e07272..8884591 100644
--- a/examples/cdecl.py
+++ b/examples/cdecl.py
@@ -25,7 +25,7 @@ import sys
# This is not required if you've installed pycparser into
# your site-packages/ with setup.py
#
-sys.path.insert(0, '..')
+sys.path.extend(['.', '..'])
from pycparser import c_parser, c_ast