Returns True if `name` is a valid Python variable name and also not a keyword.
(name)
| 21 | |
| 22 | |
| 23 | def is_variable(name): |
| 24 | """Returns True if `name` is a valid Python variable name and also not a keyword.""" |
| 25 | return name.isidentifier() and not iskeyword(name) |
| 26 | |
| 27 | |
| 28 | class ComponentStore: |
no outgoing calls
no test coverage detected
searching dependent graphs…