MCPcopy Create free account
hub / github.com/ActiveState/code / oar

Function oar

recipes/Python/580747_Two_quick_functions_object/recipe-580747.py:38–41  ·  view source on GitHub ↗
(o)

Source from the content-addressed store, hash-verified

36'''
37
38def oar(o):
39 for at in dir(o):
40 if not at.startswith('__') and not at.endswith('__'):
41 print at,
42
43'''
44# regular (meaning non-dunder) object attributes of a dict:

Callers

nothing calls this directly

Calls 3

dirFunction · 0.85
startswithMethod · 0.80
endswithMethod · 0.80

Tested by

no test coverage detected