comparison: src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/PathLib/PathlibChecker.py
src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/PathLib/PathlibChecker.py
- branch
- eric7
- changeset 9473
- 3f23dbf37dbe
- parent 9221
- bf71ee032bb4
- child 9595
- 2bd590c40309
equal
deleted
inserted
replaced
7 Module implementing the checker for functions that can be replaced by use of |
7 Module implementing the checker for functions that can be replaced by use of |
8 the pathlib module. |
8 the pathlib module. |
9 """ |
9 """ |
10 |
10 |
11 import ast |
11 import ast |
|
12 import contextlib |
12 import copy |
13 import copy |
13 import contextlib |
|
14 |
14 |
15 |
15 |
16 class PathlibChecker: |
16 class PathlibChecker: |
17 """ |
17 """ |
18 Class implementing a checker for functions that can be replaced by use of |
18 Class implementing a checker for functions that can be replaced by use of |