remove unused writeUtf8 and readUtf8 from TProtocol.py (#3123)
cleanup after https://github.com/apache/thrift/pull/3105
diff --git a/lib/py/src/protocol/TProtocol.py b/lib/py/src/protocol/TProtocol.py
index a7336c5..5b4f4d8 100644
--- a/lib/py/src/protocol/TProtocol.py
+++ b/lib/py/src/protocol/TProtocol.py
@@ -121,9 +121,6 @@
def writeBinary(self, str_val):
pass
- def writeUtf8(self, str_val):
- self.writeString(str_val.encode('utf-8'))
-
def readMessageBegin(self):
pass
@@ -184,9 +181,6 @@
def readBinary(self):
pass
- def readUtf8(self):
- return self.readString().decode('utf-8')
-
def skip(self, ttype):
if ttype == TType.BOOL:
self.readBool()