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
fdf65d91
Commit
fdf65d91
authored
Jan 03, 2003
by
Greg Ward
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Grammatical fix: change possessive "it's" to "its".
parent
8fa8972d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Doc/ext/newtypes.tex
Doc/ext/newtypes.tex
+3
-3
No files found.
Doc/ext/newtypes.tex
View file @
fdf65d91
...
...
@@ -198,7 +198,7 @@ oppourtunity --- in \cfunction{initnoddy()}.
0, /* ob
_
size */
\end{verbatim}
The
\member
{
ob
_
size
}
field of the header is not used; it
'
s presence in
The
\member
{
ob
_
size
}
field of the header is not used; its presence in
the type structure is a historical artifact that is maintained for
binary compatibility with extension modules compiled for older
versions of Python. Always set this field to zero.
...
...
@@ -442,7 +442,7 @@ uniquely-identifying value for the object.
The
\member
{
tp
_
str
}
handler is to
\function
{
str
()
}
what the
\member
{
tp
_
repr
}
handler described above is to
\function
{
repr
()
}
; that
is, it is called when Python code calls
\function
{
str
()
}
on an
instance of your object. It
'
s implementation is very similar to the
instance of your object. Its implementation is very similar to the
\member
{
tp
_
repr
}
function, but the resulting string is intended for
human consumption. If
\member
{
tp
_
str
}
is not specified, the
\member
{
tp
_
repr
}
handler is used instead.
...
...
@@ -880,7 +880,7 @@ XXX some fields need to be added here...
\end
{
verbatim
}
These functions provide support for the iterator protocol. Any object
which wishes to support iteration over it
'
s contents
(
which may be
which wishes to support iteration over its contents
(
which may be
generated during iteration
)
must implement the
\code
{
tp
_
iter
}
handler. Objects which are returned by a
\code
{
tp
_
iter
}
handler must
implement both the
\code
{
tp
_
iter
}
and
\code
{
tp
_
iternext
}
handlers.
...
...
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