mirror of
https://github.com/python/cpython.git
synced 2025-11-09 10:01:42 +00:00
In the C implementation, remove __reduce__ and __reduce_ex__ methods that always raise TypeError and restore __getstate__ methods that always raise TypeErrori. This restores fine details of the pre-3.12 behavior and unifies both implementations. |
||
|---|---|---|
| .. | ||
| clinic | ||
| _iomodule.c | ||
| _iomodule.h | ||
| bufferedio.c | ||
| bytesio.c | ||
| fileio.c | ||
| iobase.c | ||
| stringio.c | ||
| textio.c | ||
| winconsoleio.c | ||