summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
Diffstat (limited to 'Include')
-rw-r--r--Include/abstract.h2
-rw-r--r--Include/unicodeobject.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/Include/abstract.h b/Include/abstract.h
index fe089dc..8969019 100644
--- a/Include/abstract.h
+++ b/Include/abstract.h
@@ -170,7 +170,7 @@ PyAPI_FUNC(PyObject*) _PyStack_AsTupleSlice(
format to a Python dictionary ("kwargs" dict).
The type of kwnames keys is not checked. The final function getting
- arguments is reponsible to check if all keys are strings, for example using
+ arguments is responsible to check if all keys are strings, for example using
PyArg_ParseTupleAndKeywords() or PyArg_ValidateKeywordArguments().
Duplicate keys are merged using the last value. If duplicate keys must raise
diff --git a/Include/unicodeobject.h b/Include/unicodeobject.h
index bb91568..5ca1f87 100644
--- a/Include/unicodeobject.h
+++ b/Include/unicodeobject.h
@@ -1227,7 +1227,7 @@ PyAPI_FUNC(PyObject*) PyUnicode_Encode(
/* Encodes a Unicode object and returns the result as Python
object.
- This API is DEPRECATED. It is superceeded by PyUnicode_AsEncodedString()
+ This API is DEPRECATED. It is superseded by PyUnicode_AsEncodedString()
since all standard encodings (except rot13) encode str to bytes.
Use PyCodec_Encode() for encoding with rot13 and non-standard codecs
that encode form str to non-bytes. */