diff options
author | Tom Tromey <tromey@adacore.com> | 2023-09-27 09:26:01 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2023-09-28 14:56:09 -0600 |
commit | 202810947ca793b17653658e584008fb151e0937 (patch) | |
tree | a106586023040f2d9e311d4c36b64d7b0e556c4d /gcc/expr.cc | |
parent | 860b284e3eea49e5bd49e6fe07c66e53faebb893 (diff) | |
download | gcc-202810947ca793b17653658e584008fb151e0937.zip gcc-202810947ca793b17653658e584008fb151e0937.tar.gz gcc-202810947ca793b17653658e584008fb151e0937.tar.bz2 |
libstdc++: Use Python "not in" operator
flake8 warns about code like
not something in "whatever"
Ordinarily in Python this should be written as:
something not in "whatever"
This patch makes this change.
libstdc++-v3/ChangeLog:
* python/libstdcxx/v6/printers.py (Printer.add_version)
(add_one_template_type_printer)
(FilteringTypePrinter.add_one_type_printer): Use Python
"not in" operator.
Diffstat (limited to 'gcc/expr.cc')
0 files changed, 0 insertions, 0 deletions