(&self, f: &mut fmt::Formatter<'_>)
| 79 | |
| 80 | impl fmt::Debug for PyStr { |
| 81 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { |
| 82 | f.debug_struct("PyStr") |
| 83 | .field("value", &self.as_wtf8()) |
| 84 | .field("kind", &self.data.kind()) |
| 85 | .field("hash", &self.hash) |
| 86 | .finish() |
| 87 | } |
| 88 | } |
| 89 | |
| 90 | impl AsRef<str> for PyStr { |