MCPcopy Create free account
hub / github.com/dgrunwald/rust-cpython / PyString

Class PyString

src/objects/string.rs:31–31  ·  view source on GitHub ↗

Represents a Python string. Corresponds to `basestring` in Python 2, and `str` in Python 3.

Source from the content-addressed store, hash-verified

29/// Represents a Python string.
30/// Corresponds to `basestring` in Python 2, and `str` in Python 3.
31pub struct PyString(PyObject);
32
33#[cfg(feature = "python27-sys")]
34pyobject_newtype!(PyString);

Callers 1

downcast_fromMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected