[Tutor] Type Checking:/High-Jacking Reserved Words
Tim Johnson
tim@johnsons-web.com
Sun, 4 Mar 2001 09:05:01 -0900
Hello:
There was an errory in my previous post, so am reposting.
Sorry!
=======================================================
I would welcome some comments from anyone as to the
comparative advantages of the following
> type(mystr) == types.StringType
as opposed to
> type(mystr) == type("")
because the first method necessitates importing another
module: re: more "overhead".
--
Tim Johnson
-----------
"Of all manifestations of power,
restraint impresses the most."
-Thucydides