Strict Type Checking Objects in Python

Moshe Zadka moshez at math.huji.ac.il
Mon Mar 27 13:01:01 EST 2000


On Mon, 27 Mar 2000, Warren Postma wrote:

> Has a well documented method already been made to create a static class
> definition? 

No. Python is pretty far from a static type system. The types-sig is
working on that, however.

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

import types
types.StringType

--
Moshe Zadka <mzadka at geocities.com>. 
http://www.oreilly.com/news/prescod_0300.html
http://www.linux.org.il -- we put the penguin in .com





More information about the Python-list mailing list