diff options
author | Fred Drake <fdrake@acm.org> | 2002-11-01 21:33:44 +0000 |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2002-11-01 21:33:44 +0000 |
commit | 9482d2591a89ebd5f5c79fa22dffe8b9db8a45d9 (patch) | |
tree | 3aa2998f29cb34fe72c9bbc3f5a6dc54db49c6bf /Lib/pydoc.py | |
parent | 57bc5fa60a25661237861b3d3c9941ca8f5dbfd7 (diff) | |
download | cpython-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