llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT--> @llvm/pr-subscribers-clang Author: Thomas Applencourt (TApplencourt) <details> <summary>Changes</summary> Remove unused `OptionGroup` import in some `cindex.py` example. --- Full diff: https://github.com/llvm/llvm-project/pull/172369.diff 2 Files Affected: - (modified) clang/bindings/python/examples/cindex/cindex-dump.py (+1-1) - (modified) clang/bindings/python/examples/cindex/cindex-includes.py (+1-1) ``````````diff diff --git a/clang/bindings/python/examples/cindex/cindex-dump.py b/clang/bindings/python/examples/cindex/cindex-dump.py index 10c3e4ba2dba4..97b0e6682855a 100644 --- a/clang/bindings/python/examples/cindex/cindex-dump.py +++ b/clang/bindings/python/examples/cindex/cindex-dump.py @@ -63,7 +63,7 @@ def main(): from clang.cindex import Index from pprint import pprint - from optparse import OptionParser, OptionGroup + from optparse import OptionParser global opts diff --git a/clang/bindings/python/examples/cindex/cindex-includes.py b/clang/bindings/python/examples/cindex/cindex-includes.py index 4e8bae19005cd..ea066a7e91082 100644 --- a/clang/bindings/python/examples/cindex/cindex-includes.py +++ b/clang/bindings/python/examples/cindex/cindex-includes.py @@ -18,7 +18,7 @@ def main(): import sys from clang.cindex import Index - from optparse import OptionParser, OptionGroup + from optparse import OptionParser parser = OptionParser("usage: %prog [options] {filename} [clang-args*]") parser.disable_interspersed_args() `````````` </details> https://github.com/llvm/llvm-project/pull/172369 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
