MCPcopy Index your code
hub / github.com/python/cpython / keys

Method keys

Lib/xml/etree/ElementTree.py:357–364  ·  view source on GitHub ↗

Get list of attribute names. Names are returned in an arbitrary order, just like an ordinary Python dict. Equivalent to attrib.keys()

(self)

Source from the content-addressed store, hash-verified

355 self.attrib[key] = value
356
357 def keys(self):
358 """Get list of attribute names.
359
360 Names are returned in an arbitrary order, just like an ordinary
361 Python dict. Equivalent to attrib.keys()
362
363 """
364 return self.attrib.keys()
365
366 def items(self):
367 """Get element attributes as a sequence.

Callers 1

test_attribMethod · 0.95

Calls

no outgoing calls

Tested by 1

test_attribMethod · 0.76