Strict Type Checking Objects in Python

Alex alex at somewhere.round.here
Mon Mar 27 12:16:17 EST 2000


> type_string = type("a") # what is the official "name" of the string
>                         # type anyways!?

from types import StringType

assert type ('') == StringType

Alex.



More information about the Python-list mailing list