Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ get_value
Method
get_value
Lib/string/__init__.py:268–272 ·
view source on GitHub ↗
(self, key, args, kwargs)
Source
from the content-addressed store, hash-verified
266
267
268
def
get_value(self, key, args, kwargs):
269
if
isinstance(key, int):
270
return
args[key]
271
else
:
272
return
kwargs[key]
273
274
275
def
check_unused_args(self, used_args, args, kwargs):
Callers
1
get_field
Method · 0.95
Calls
1
isinstance
Function · 0.85
Tested by
no test coverage detected