MCPcopy Create free account
hub / github.com/pyload/pyload / isiterable

Function isiterable

module/plugins/internal/misc.py:385–389  ·  view source on GitHub ↗

Check if object is iterable (string excluded)

(obj)

Source from the content-addressed store, hash-verified

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

Callers 3

init_eventsMethod · 0.85
resetMethod · 0.85
notifyMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected