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

Class Arguments

crates/compiler-core/src/bytecode.rs:1067–1073  ·  view source on GitHub ↗

Argument structure

Source from the content-addressed store, hash-verified

1065
1066/// Argument structure
1067pub struct Arguments<'a, N: AsRef<str>> {
1068 pub posonlyargs: &'a [N],
1069 pub args: &'a [N],
1070 pub vararg: Option<&'a N>,
1071 pub kwonlyargs: &'a [N],
1072 pub varkwarg: Option<&'a N>,
1073}
1074
1075impl<N: AsRef<str>> fmt::Debug for Arguments<'_, N> {
1076 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {

Callers 1

getargsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected