Hi!
> I tried a one-liner:
>
> def fun(fred): foo = fred
>
> and still get the same result.
Oh. Guess that was a bit ambiguous. By "method def one-liner" I mean a
method def statement where the def keyword, parameters, and scope
opening colon all live on the same line. I.e: no line continuations
either using brackets or backslashes.
Good:
def moo(self, cow):
(code here)
Bad:
def \
moo(self,
cow): (code here)
and I guess assuming no code after scope opening colon isn't such a
great idea either. But anyway all this will be corrected once I learn
how to script pydev properly.
> Adding [EMAIL PROTECTED] to the ends of a couple of from lines
> fixes PySelection and PyAction.
Oh. I didn't understand what it was at first (running plain pydev) but
I'll fix it.
> I don't think that True/False appeared in Python until 2.3 or 2.4 and
> Jython is 2.1.
Jython 2.2alpha1 is out if you're interested. Downloaded it yesterday.
Thanks for the tips!
/Joel
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
pydev-code mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pydev-code