Check if object is iterable (string excluded)
(obj)
| 383 | |
| 384 | |
| 385 | def isiterable(obj): |
| 386 | """ |
| 387 | Check if object is iterable (string excluded) |
| 388 | """ |
| 389 | return hasattr(obj, "__iter__") |
| 390 | |
| 391 | def get_console_encoding(enc): |
| 392 | if os.name == "nt": |
no outgoing calls
no test coverage detected