(mut self, winerror: PyObjectRef)
| 1317 | #[must_use] |
| 1318 | #[cfg(windows)] |
| 1319 | pub(crate) fn winerror(mut self, winerror: PyObjectRef) -> Self { |
| 1320 | self.winerror.replace(winerror); |
| 1321 | self |
| 1322 | } |
| 1323 | |
| 1324 | /// Strip winerror from the builder. Used for C runtime errors |
| 1325 | /// (e.g. `_wopen`, `open`) that should produce `[Errno X]` format |
no test coverage detected