Andreas Kostyrka wrote:
> OTOH, module globals are seldom used, and usually
frowned on. E.g. the
> python2.5 standard lib (>200K lines, 584 py files),
uses exactly 104
> distinct global statements.
>
> andreas andi-lap:/usr/lib/python2.5> grep -r "^[
t]*global " . | sed 's/[ t][ t]*/ /' | sort -u | wc
-l
>
I don't understand this grep exactly, but it looks to me
like it only
counts globals after tabs...
what about globals after spaces?
_______________________________________________
Tutor maillist - Tutor python.org
http://
mail.python.org/mailman/listinfo/tutor
|