from a module return a class

John Gordon gordon at panix.com
Thu Mar 17 13:54:17 EDT 2016


In <56eaecc8$0$3658$426a74cc at news.free.fr> Laurent Pointal <laurent.pointal at free.fr> writes:

> >>     user_pword = promptUser_PWord()
> > 
> > Show us the complete definition of promptUser_PWord().

> AFAIU It looks to be the module…

If it were a module, it wouldn't be callable.  It has to be a function
or a class.

-- 
John Gordon                   A is for Amy, who fell down the stairs
gordon at panix.com              B is for Basil, assaulted by bears
                                -- Edward Gorey, "The Gashlycrumb Tinies"




More information about the Python-list mailing list