Check whether 'str' contains ANY of the chars in 'set
(str, set)
| 231 | |
| 232 | |
| 233 | def containsAny(str, set): |
| 234 | """Check whether 'str' contains ANY of the chars in 'set'""" |
| 235 | return 1 in [c in str for c in set] |
| 236 | |
| 237 | |
| 238 | def getFilesForName(name): |
no outgoing calls
no test coverage detected
searching dependent graphs…