[Python-Dev] Re: stringobject question
Trent Mick
trentm@activestate.com
Thu, 15 Jun 2000 11:28:57 -0700
On Thu, Jun 15, 2000 at 06:16:03PM +0000, Finn Bock wrote:
> >These are copied from Java, are they not? What do the Java equivalents
> >return?
>
> The .isXX methods does not exists on java strings, only on the Character
> class. So in java they can never be called on anything with length 0.
>
Okeedoke, so go with the changes that MAL made s.t. ''.isdigit() returns 0,
unless others have any opposition.
Trent
--
Trent Mick
trentm@activestate.com