Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
global: use Python feature detection in _compat.py
* BETTER Python porting best practice use feature detection instead of version detection to save an import and pass both PyLint and Flake8 tests with neither 'pragma' nor 'noqa'.
- Loading branch information
1 parent
025d398
commit f8dc205
Showing
1 changed file
with
12 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters