from a module return a class
Laurent Pointal
laurent.pointal at free.fr
Thu Mar 17 14:24:00 EDT 2016
John Gordon wrote:
> 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.
So the error: SyntaxError: 'return' outside function
More information about the Python-list
mailing list