Static Typing in Python

Premshree Pillai premshree_python at yahoo.co.in
Sat Mar 13 09:55:08 EST 2004


 --- Terry Reedy <tjreedy at udel.edu> wrote: > 
> "Premshree Pillai" <premshree_python at yahoo.co.in>
> wrote in message
> > Anyway, what I want is to force variable
> declaration.
> > In perl we have the "use strict vars" pargma...I
> need
> > something like that...
> 
> For those of us who do not know Perl, and there are
> many, I suspect, on
> this Python newsgroup, that means nothing ;-).
> 
> tjr
> 
> 
> 
> 
> -- 
> http://mail.python.org/mailman/listinfo/python-list 

Yes. Let me explain. Perl's "strict" pragma makes sure
that you have declared (initialized) a variable before
using it. Nothing more to it.

=====
-Premshree
[http://www.qiksearch.com/]

________________________________________________________________________
Yahoo! India Insurance Special: Be informed on the best policies, services, tools and more. 
Go to: http://in.insurance.yahoo.com/licspecial/index.html




More information about the Python-list mailing list