MCPcopy Index your code
hub / github.com/RustPython/RustPython / keys

Method keys

extra_tests/snippets/builtin_dir.py:37–39  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

35 return dir
36
37 def keys(self):
38 yield 6
39 yield 5
40
41
42assert eval("dir()", {}, A()) == [5, 6]

Callers 5

startTestRunMethod · 0.45
builtin_dict.pyFile · 0.45
builtin_range.pyFile · 0.45

Calls

no outgoing calls

Tested by 2

startTestRunMethod · 0.36