We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c1812c commit 14a19a7Copy full SHA for 14a19a7
src/rust/src/declarative_asn1/types.rs
@@ -91,6 +91,10 @@ impl PrintableString {
91
pub fn as_str(&self, py: pyo3::Python<'_>) -> pyo3::PyResult<pyo3::Py<pyo3::types::PyString>> {
92
Ok(self.inner.clone_ref(py))
93
}
94
+
95
+ pub fn __repr__(&self) -> String {
96
+ format!("PrintableString({})", self.inner)
97
+ }
98
99
100
/// Utility function for converting builtin Python types
0 commit comments