MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / spilldata

Method spilldata

tools/python-3.11.9-amd64/Lib/pydoc.py:1455–1468  ·  view source on GitHub ↗
(msg, attrs, predicate)

Source from the content-addressed store, hash-verified

1453 return attrs
1454
1455 def spilldata(msg, attrs, predicate):
1456 ok, attrs = _split_list(attrs, predicate)
1457 if ok:
1458 hr.maybe()
1459 push(msg)
1460 for name, kind, homecls, value in ok:
1461 doc = getdoc(value)
1462 try:
1463 obj = getattr(object, name)
1464 except AttributeError:
1465 obj = homecls.__dict__[name]
1466 push(self.docother(obj, name, mod, maxlen=70, doc=doc) +
1467 '\n')
1468 return attrs
1469
1470 attrs = [(name, kind, cls, value)
1471 for name, kind, cls, value in classify_class_attrs(object)

Callers

nothing calls this directly

Calls 5

docotherMethod · 0.95
_split_listFunction · 0.85
getdocFunction · 0.70
pushFunction · 0.50
maybeMethod · 0.45

Tested by

no test coverage detected