[Python-Dev] Re: String module

Guido van Rossum guido@python.org
Wed, 29 May 2002 14:46:53 -0400

Didn't want to let this useful suggestion miss the archives.

------- Forwarded Message

Date:    Wed, 29 May 2002 20:37:40 +0200
From:    Finn Bock
To:      Guido van Rossum
Subject: Re: [Python-Dev] Re: String module

Guido van Rossum wrote:

> digits -- isdigit()
> That leaves:
> hexdigits -- isxdigit()
> octdigits -- isodigit()

Java solves this task by a method that takes a radix argument and 
returns an int for the numeric value and -1 for characters that are 
invalid in the radix.



------- End of Forwarded Message