MCPcopy Index your code
hub / github.com/davidhewitt/pythonize / serialize_char

Method serialize_char

src/ser.rs:338–340  ·  view source on GitHub ↗
(self, v: char)

Source from the content-addressed store, hash-verified

336 }
337
338 fn serialize_char(self, v: char) -> Result<Bound<'py, PyAny>> {
339 self.serialize_str(&v.to_string())
340 }
341
342 fn serialize_str(self, v: &str) -> Result<Bound<'py, PyAny>> {
343 Ok(PyString::new(self.py, v).into_any())

Callers

nothing calls this directly

Calls 1

serialize_strMethod · 0.80

Tested by

no test coverage detected