summaryrefslogtreecommitdiff
path: root/Lib/pydoc.py
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2002-11-01 21:33:44 +0000
committerFred Drake <fdrake@acm.org>2002-11-01 21:33:44 +0000
commit9482d2591a89ebd5f5c79fa22dffe8b9db8a45d9 (patch)
tree3aa2998f29cb34fe72c9bbc3f5a6dc54db49c6bf /Lib/pydoc.py
parent57bc5fa60a25661237861b3d3c9941ca8f5dbfd7 (diff)
downloadcpython-git-9482d2591a89ebd5f5c79fa22dffe8b9db8a45d9.tar.gz
Update example for the type() function to use the currently accepted
preference of using "is" instead of "==" to compare types, use built-in names where available, and point to the isinstance() function. Closes SF bug #632196.
Diffstat (limited to 'Lib/pydoc.py')
0 files changed, 0 insertions, 0 deletions