give the C implementation of TextIOWrapper the errors property #6217
diff --git a/Lib/_pyio.py b/Lib/_pyio.py
index c1cdf43..bbf65bc 100644
--- a/Lib/_pyio.py
+++ b/Lib/_pyio.py
@@ -1286,6 +1286,13 @@
"""
return None
+ @property
+ def errors(self):
+ """Error setting of the decoder or encoder.
+
+ Subclasses should override."""
+ return None
+
io.TextIOBase.register(TextIOBase)
@@ -1933,6 +1940,10 @@
return object.__repr__(self)
@property
+ def errors(self):
+ return None
+
+ @property
def encoding(self):
return None