commit | 9482d2591a89ebd5f5c79fa22dffe8b9db8a45d9 | [log] [tgz] |
---|---|---|
author | Fred Drake <fdrake@acm.org> | Fri Nov 01 21:33:44 2002 +0000 |
committer | Fred Drake <fdrake@acm.org> | Fri Nov 01 21:33:44 2002 +0000 |
tree | 3aa2998f29cb34fe72c9bbc3f5a6dc54db49c6bf | |
parent | 57bc5fa60a25661237861b3d3c9941ca8f5dbfd7 [diff] |
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.