THRIFT-2849: spelling errors fixed using codespell tool
Client: All
Patch: Anatol Pomozov
This closes #281
diff --git a/lib/py/src/protocol/fastbinary.c b/lib/py/src/protocol/fastbinary.c
index 2ce5660..4133e98 100644
--- a/lib/py/src/protocol/fastbinary.c
+++ b/lib/py/src/protocol/fastbinary.c
@@ -332,7 +332,7 @@
}
-/* --- MAIN RECURSIVE OUTPUT FUCNTION -- */
+/* --- MAIN RECURSIVE OUTPUT FUNCTION -- */
static int
output_val(PyObject* output, PyObject* value, TType type, PyObject* typeargs) {
@@ -936,7 +936,7 @@
}
-/* --- MAIN RECURSIVE INPUT FUCNTION --- */
+/* --- MAIN RECURSIVE INPUT FUNCTION --- */
// Returns a new reference.
static PyObject*
diff --git a/lib/py/src/server/TNonblockingServer.py b/lib/py/src/server/TNonblockingServer.py
index 4a035b6..39486cd 100644
--- a/lib/py/src/server/TNonblockingServer.py
+++ b/lib/py/src/server/TNonblockingServer.py
@@ -261,7 +261,7 @@
def wake_up(self):
"""Wake up main thread.
- The server usualy waits in select call in we should terminate one.
+ The server usually waits in select call in we should terminate one.
The simplest way is using socketpair.
Select always wait to read from the first socket of socketpair.