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

Method get_encode_func

crates/vm/src/codecs.rs:61–63  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

59
60 #[inline]
61 pub fn get_encode_func(&self) -> &PyObject {
62 &self.0[0]
63 }
64 #[inline]
65 pub fn get_decode_func(&self) -> &PyObject {
66 &self.0[1]

Callers 2

encodeMethod · 0.80
find_coderMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected