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
d2004662
Commit
d2004662
authored
Mar 16, 2007
by
Georg Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
RFE #1670167: fix in isinstance() docs.
(backport from rev. 54409)
parent
7d9ac783
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
Doc/lib/libfuncs.tex
Doc/lib/libfuncs.tex
+3
-2
No files found.
Doc/lib/libfuncs.tex
View file @
d2004662
...
...
@@ -548,8 +548,9 @@ class C:
\begin{funcdesc}
{
isinstance
}{
object, classinfo
}
Return true if the
\var
{
object
}
argument is an instance of the
\var
{
classinfo
}
argument, or of a (direct or indirect) subclass
thereof. Also return true if
\var
{
classinfo
}
is a type object and
\var
{
object
}
is an object of that type. If
\var
{
object
}
is not a
thereof. Also return true if
\var
{
classinfo
}
is a type object
(new-style class) and
\var
{
object
}
is an object of that type or of a
(direct or indirect) subclass thereof. If
\var
{
object
}
is not a
class instance or an object of the given type, the function always
returns false. If
\var
{
classinfo
}
is neither a class object nor a
type object, it may be a tuple of class or type objects, or may
...
...
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