Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
b429d3b0
Commit
b429d3b0
authored
Feb 22, 2012
by
Victor Stinner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix doc of an internal function: unicode_write_cstr()
parent
6db1c40b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
Objects/unicodeobject.c
Objects/unicodeobject.c
+3
-2
No files found.
Objects/unicodeobject.c
View file @
b429d3b0
...
...
@@ -1640,8 +1640,9 @@ unicode_putchar(PyObject **p_unicode, Py_ssize_t *pos,
/* Copy a ASCII or latin1 char* string into a Python Unicode string.
Return the length of the input string.
WARNING: Don't copy the terminating null character and don't check the
maximum character (may write a latin1 character in an ASCII 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
ASCII string). */
static
Py_ssize_t
unicode_write_cstr
(
PyObject
*
unicode
,
Py_ssize_t
index
,
const
char
*
str
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment