importing a method

Steven D'Aprano steve at REMOVETHIScyber.com.au
Mon Nov 28 17:12:36 EST 2005


On Mon, 28 Nov 2005 08:16:12 -0800, Martin Miller wrote:

> First of all,why do you think the new module is deprecated?  (I can't
> find anything in the docs to indicate this.)

Did you try help(new) from an interactive prompt?


py> new.__doc__.splitlines()[0]
'Create new objects of various types.  Deprecated.'


-- 
Steven.




More information about the Python-list mailing list