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
29844caf
Commit
29844caf
authored
Feb 15, 1999
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Be explicit about the reference count of the original value of the
first parameter to PyString_Concat().
parent
800d6ac5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
Doc/api/api.tex
Doc/api/api.tex
+6
-2
No files found.
Doc/api/api.tex
View file @
29844caf
...
...
@@ -1737,8 +1737,12 @@ Resturns a \NULL{} terminated representation of the contents of \var{string}.
\begin{cfuncdesc}
{
void
}{
PyString
_
Concat
}{
PyObject **string,
PyObject *newpart
}
Creates a new string object in
\var
{
*string
}
containing the contents
of
\var
{
newpart
}
appended to
\var
{
string
}
.
Creates a new string object in
\var
{
*string
}
containing the
contents of
\var
{
newpart
}
appended to
\var
{
string
}
. The old value of
\var
{
string
}
have its reference count decremented. If the new string
cannot be created, the old reference to
\var
{
string
}
will still be
discarded and the value of
\var
{
*string
}
will be set to
\NULL
{}
; the appropriate exception will be set.
\end{cfuncdesc}
\begin{cfuncdesc}
{
void
}{
PyString
_
ConcatAndDel
}{
PyObject **string,
...
...
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