> It is a java thing -- comes from java.lang... Actually you should import it
> into your scope: from java.lang import StringBuffer.

Yes. On Ubuntulinux 5.10, eclipse 3.1.1 and pydev 1.0.4 I do have to import it.
Under WinXP, eclipse <newest> and pydev 1.0.5 I didn't need to import it...
Seems weird though. I must have imported it by mistake somewhere. I'll
investigate some more and get bact to you if I can't track it down to some
strangeness on my part.

Well, remind that things are in a 'shared' interpreter for all scripts for an editor, so, if you had made some from java.lang import * in one script, all would have access to it (not something you'd like to rely on).

> Well, actually most code has javadocs, so, probably doing at least a javadoc
> from pydev code and making it available

If you got it within an Eclipse project, just right-click it, and then export > javadoc.

Cheers,

Fabio

Reply via email to