Code basics

David Fisher python at rose164.wuh.wustl.edu
Wed Mar 17 16:31:02 CET 1999


Spam detection software, running on the system "albatross.python.org", has
identified this incoming email as possible spam.  The original message
has been attached to this so you can view it (if it isn't spam) or label
similar future email.  If you have any questions, see
the administrator of that system for details.

Content preview:  Hi JJ, You indicate a block with indentation. Like so: while
   notDone: chip = self.getNumberOfSomething() if chip == 10: print "Tjohoo"
   else: print "Oh no!" I changed the this to self because thats the usual way
   of calling an instance method. Just pretend there's a class floating just
   off screen that this is inside of. [...] 

Content analysis details:   (5.3 points, 5.0 required)

 pts rule name              description
---- ---------------------- --------------------------------------------------
 1.4 NO_DNS_FOR_FROM        DNS: Envelope sender has no MX or A DNS records
 2.0 FH_DATE_IS_19XX        The date is not 19xx.
 2.3 DATE_IN_PAST_96_XX     Date: is 96 hours or more before Received: date
-0.4 AWL                    AWL: From: address is in the auto white-list


-------------- next part --------------
An embedded message was scrubbed...
From: "David Fisher" <python at rose164.wuh.wustl.edu>
Subject: Re: Code basics
Date: Wed, 17 Mar 1999 09:31:02 -0600
Size: 2336
URL: <http://mail.python.org/pipermail/python-list/attachments/19990317/a65f1127/attachment.mht>


More information about the Python-list mailing list