mirror of
https://github.com/python/cpython.git
synced 2025-08-27 20:25:18 +00:00
Issue #25523: Further a-to-an corrections.
This commit is contained in:
parent
7462b64911
commit
d65c9496da
34 changed files with 39 additions and 39 deletions
|
@ -1703,7 +1703,7 @@ PyUnicode_Resize(PyObject **p_unicode, Py_ssize_t length)
|
|||
return unicode_resize(p_unicode, length);
|
||||
}
|
||||
|
||||
/* Copy a ASCII or latin1 char* string into a Python Unicode string.
|
||||
/* Copy an ASCII or latin1 char* string into a Python Unicode string.
|
||||
|
||||
WARNING: The function doesn't copy the terminating null character and
|
||||
doesn't check the maximum character (may write a latin1 character in an
|
||||
|
@ -7290,7 +7290,7 @@ error:
|
|||
}
|
||||
|
||||
/*
|
||||
* Encode a Unicode string to a Windows code page into a byte string using a
|
||||
* Encode a Unicode string to a Windows code page into a byte string using an
|
||||
* error handler.
|
||||
*
|
||||
* Returns consumed characters if succeed, or raise an OSError and returns
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue