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

Method has_args

scripts/update_lib/patch_spec.py:34–35  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

32 return name[0].lower() + name[1:]
33
34 def has_args(self) -> bool:
35 return self != self.ExpectedFailure
36
37 def has_cond(self) -> bool:
38 return self.endswith(("If", "Unless"))

Callers 3

iter_patch_entriesMethod · 0.95
as_ast_nodeMethod · 0.80
as_decoratorMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected