Re: PEP: possibility of inline using of a symbol instead of "import"

2011-01-06 Thread Erwin Mueller
On Thursday 06 January 2011 21:23:57 Robert Kern wrote: > On 1/6/11 12:43 PM, Erwin Mueller wrote: > > On Thursday 06 January 2011 16:28:49 dmitrey wrote: > >> hi all, > >> I have th PEP (I'm not sure something like that hadn't been proposed > >> alth

Re: PEP: possibility of inline using of a symbol instead of "import"

2011-01-06 Thread Erwin Mueller
On Thursday 06 January 2011 21:23:57 Robert Kern wrote: > On 1/6/11 12:43 PM, Erwin Mueller wrote: > > On Thursday 06 January 2011 16:28:49 dmitrey wrote: > >> hi all, > >> I have th PEP (I'm not sure something like that hadn't been proposed > >> alth

Re: PEP: possibility of inline using of a symbol instead of "import"

2011-01-06 Thread Erwin Mueller
ral pages of code > in IDE to understand what it refers to. > > Regards, D. Why you have several pages of code in the first place? Don't you know that you can split your code in files? Just a suggestion. -- Erwin Mueller, dev...@deventm.org http://www.global-scaling-institute.de/ -- http://mail.python.org/mailman/listinfo/python-list

How to comment constant values?

2009-07-26 Thread Erwin Mueller
Hello, I'm new to Python (using it for two months) and I wonder how can I comment the const. values with the doc-strings. I.e. if I have code: >FRACTION_MIN = 1 >FRACTION_MAX = 10 > >class Fraction(collections.MutableSequence): >'''Model a fraction with denominators. > >It contains one or