MCPcopy Create free account
hub / github.com/datacamp/pythonwhat / get_kw_arg_part

Method get_kw_arg_part

pythonwhat/parsing.py:397–405  ·  view source on GitHub ↗
(arg)

Source from the content-addressed store, hash-verified

395
396 @staticmethod
397 def get_kw_arg_part(arg):
398 is_kwarg = arg.arg is None
399 return {
400 "node": arg.value,
401 "highlight": arg,
402 "type": "keyword",
403 "is_kwarg": is_kwarg,
404 "name": arg.arg,
405 }
406
407
408class ObjectAccessParser(FunctionParser):

Callers 1

get_call_partMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected