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

Method has_arg

crates/stdlib/src/_opcode.rs:65–67  ·  view source on GitHub ↗
(opcode: i32)

Source from the content-addressed store, hash-verified

63 /// Check if instruction has an argument
64 #[must_use]
65 pub fn has_arg(opcode: i32) -> bool {
66 Self::is_valid(opcode) && opcode > Self::HAVE_ARGUMENT
67 }
68
69 /// Check if instruction uses co_consts
70 #[must_use]

Callers 1

opcode.pyFile · 0.80

Calls 1

is_validFunction · 0.85

Tested by

no test coverage detected