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
44a7b3a7
Commit
44a7b3a7
authored
Sep 30, 2006
by
Georg Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug #1546052: clarify that PyString_FromString(AndSize) copies the
string pointed to by its parameter.
parent
a92979a1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
+8
-5
Doc/api/concrete.tex
Doc/api/concrete.tex
+5
-5
Misc/NEWS
Misc/NEWS
+3
-0
No files found.
Doc/api/concrete.tex
View file @
44a7b3a7
...
...
@@ -602,15 +602,15 @@ parameter and are called with a non-string parameter.
\end{cfuncdesc}
\begin{cfuncdesc}
{
PyObject*
}{
PyString
_
FromString
}{
const char *v
}
Return a new string object with
the value
\var
{
v
}
on success, and
\NULL
{}
on failure. The parameter
\var
{
v
}
must not be
\NULL
{}
; it
will not be checked.
Return a new string object with
a copy of the string
\var
{
v
}
as value
on success, and
\NULL
{}
on failure. The parameter
\var
{
v
}
must not be
\NULL
{}
; it
will not be checked.
\end{cfuncdesc}
\begin{cfuncdesc}
{
PyObject*
}{
PyString
_
FromStringAndSize
}{
const char *v,
Py
_
ssize
_
t len
}
Return a new string object with
the value
\var
{
v
}
and length
\var
{
len
}
on success, and
\NULL
{}
on failure. If
\var
{
v
}
is
Return a new string object with
a copy of the string
\var
{
v
}
as value
and length
\var
{
len
}
on success, and
\NULL
{}
on failure. If
\var
{
v
}
is
\NULL
{}
, the contents of the string are uninitialized.
\end{cfuncdesc}
...
...
Misc/NEWS
View file @
44a7b3a7
...
...
@@ -146,6 +146,9 @@ Tests
Documentation
-------------
- Bug #1546052: clarify that PyString_FromString(AndSize) copies the
string pointed to by its parameter.
- Bug #1566663: remove obsolete example from datetime docs.
- Bug #1541682: Fix example in the "Refcount details" API docs.
...
...
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