Available on crate feature
experimental-inspect only.Modules§
- return_
type 🔒 - Seals
PyReturnTypeso that types outside PyO3 cannot implement it.
Structs§
Traits§
- PyInto
PyObject Maybe RefType - PyReturn
Type - Trait to guess a function Python return type
Functions§
- escape_
json_ string - Escapes a string to be valid JSON. Does not add quotes around it
- escaped_
json_ string_ len - Number of bytes written by
escape_json_string - is_
disjoint_ base - Whether
Tis laid out differently from its base class, making it a disjoint base at runtime. - typing_
or_ extensions_ if_ not_ 3_ 15 - The module to import
typingfeatures new in Python 3.15 from:typingitself when targeting 3.15 or newer,typing_extensionsotherwise.