Alexey Izbyshev <izbys...@ispras.ru> added the comment:

argparse.SUPPRESS is an opaque value to be used by argparse clients. It could 
be anything, it just happens to be a string. So the code doesn't compare 
strings but checks whether a supplied object *is* the opaque value. I do not 
see any problem with this code, though one way to avoid LGTM diagnostics would 
be to use a non-string opaque value instead.

----------
nosy: +izbyshev

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue35430>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to