Lucas Prado Melo a écrit :
Hello,
How could I prove to someone that python accepts this syntax using
the documentation (I couldn't find it anywhere):
classname.functionname(objectname)
Why do you need the documentation ? Just fire up your python shell and
hack a QD example:
Python 2.5.1
Lucas Prado Melo [EMAIL PROTECTED] wrote:
Hello,
How could I prove to someone that python accepts this syntax using
the documentation (I couldn't find it anywhere):
classname.functionname(objectname)
Language reference, mostly section 5.3 Primaries
call ::=
primary
On Fri, May 9, 2008 at 5:32 AM, Bruno Desthuilliers
[EMAIL PROTECTED] wrote:
Why do you need the documentation ? Just fire up your python shell and hack
a QD example:
I agree. I said it to this person, but he insisted I should use documentation...
--
Thanks for all the answers. I bet I will convince this guy!
--
http://mail.python.org/mailman/listinfo/python-list
Hello,
How could I prove to someone that python accepts this syntax using
the documentation (I couldn't find it anywhere):
classname.functionname(objectname)
--
http://mail.python.org/mailman/listinfo/python-list
classname.functionname(objectname)
Do you mean something like this?
class myclass:
@staticmethod
def myfunction(myobject): pass
myobject = None
myclass.myfunction(myobject)
If so, then you want to check the staticmethod decorator, described here:
Lucas Prado Melo wrote:
How could I prove to someone that python accepts this syntax using
the documentation (I couldn't find it anywhere):
classname.functionname(objectname)
TUtorial 9.3.4, method objects
What exactly happens when a method is called? You may have noticed that
x.f
Thanks Marco, this is just what I was looking for.
On Thu, May 8, 2008 at 11:02 AM, David [EMAIL PROTECTED] wrote:
classname.functionname(objectname)
Do you mean something like this?
class myclass:
@staticmethod
def myfunction(myobject): pass
myobject = None
On May 8, 10:50 am, Lucas Prado Melo [EMAIL PROTECTED] wrote:
Hello,
How could I prove to someone that python accepts this syntax using
the documentation (I couldn't find it anywhere):
classname.functionname(objectname)
It's in the language reference, section 3.2 The standard type
hierarchy
I found this nice dialog on the internet:
=
Well, if you want to convice me, just answer these questions:
If you can prove that the official explanation is correct, what's
keeping
you from collecting a MILLION dollars? Even if you're too wealthy to
bother
[EMAIL PROTECTED] wrote:
I found this nice dialog on the internet:
Doubtless, but why did you choose to share it with a bunch of news
groups which aren't related to the subject?
Aandi Inston [EMAIL PROTECTED] http://www.quite.com
Please support usenet!
Do you mean to say that the dimension to pursue truth and freedom from
deception lack for people using TeX? or they must not be informed of
it?
BTW, Mr Siegman from Stanford of Yatches, whats your take on Neturei
Karta ? If I am making a guess based on the sample space I have seen in
elite
[EMAIL PROTECTED] wrote:
Do you mean to say that the dimension to pursue truth and freedom from
deception lack for people using TeX? or they must not be informed of
it?
What kind of dimension is needed to pursue
://www.dexrow.com
[EMAIL PROTECTED] wrote:
I found this nice dialog on the internet:
=
Well, if you want to convice me, just answer these questions:
If you can prove that the official explanation is correct, what's
keeping
you from collecting a MILLION
14 matches
Mail list logo