diff options
author | Ville Skyttä <ville.skytta@iki.fi> | 2017-08-03 06:00:59 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2017-08-03 06:00:59 (GMT) |
commit | 49b2734bf12dc1cda80fd73d3ec8896ae3e362f2 (patch) | |
tree | 049e496126aae48bf6d7c3ddbb7f145e04e53e97 /Include | |
parent | d9d55c91bec4776b41685b48fe660621e89f0617 (diff) | |
download | cpython-49b2734bf12dc1cda80fd73d3ec8896ae3e362f2.zip cpython-49b2734bf12dc1cda80fd73d3ec8896ae3e362f2.tar.gz cpython-49b2734bf12dc1cda80fd73d3ec8896ae3e362f2.tar.bz2 |
Spelling fixes (#2902)
Diffstat (limited to 'Include')
-rw-r--r-- | Include/abstract.h | 2 | ||||
-rw-r--r-- | Include/unicodeobject.h | 2 |
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. */ |