Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ is_valid
Function
is_valid
crates/stdlib/src/_opcode.rs:210–212 ·
view source on GitHub ↗
(opcode: i32)
Source
from the content-addressed store, hash-verified
208
209
#[pyfunction]
210
fn is_valid(opcode: i32) -> bool {
211
Opcode::is_valid(opcode)
212
}
213
214
#[pyfunction]
215
fn has_arg(opcode: i32) -> bool {
Callers
1
has_arg
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected