diff options
Diffstat (limited to 'bindings/python/examples/cindex/cindex-dump.py')
-rw-r--r-- | bindings/python/examples/cindex/cindex-dump.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/bindings/python/examples/cindex/cindex-dump.py b/bindings/python/examples/cindex/cindex-dump.py index ace4ae8276..af7ddab6ea 100644 --- a/bindings/python/examples/cindex/cindex-dump.py +++ b/bindings/python/examples/cindex/cindex-dump.py @@ -74,10 +74,8 @@ def main(): if len(args) == 0: parser.error('invalid number arguments') - input_path = args.pop(0) - index = Index.create() - tu = index.parse(input_path, args) + tu = index.parse(None, args) if not tu: parser.error("unable to load input") |