add isalpha and isalnum methods

This commit is contained in:
Jeremy Hylton 2000-07-10 17:07:17 +00:00
parent cb27c35aa6
commit fd54757336
1 changed files with 2 additions and 0 deletions

View File

@ -75,6 +75,8 @@ def find(self, sub, start=0, end=sys.maxint):
return self.data.find(sub, start, end)
def index(self, sub, start=0, end=sys.maxint):
return self.data.index(sub, start, end)
def isalpha(self): return self.data.isalpha()
def isalnum(self): return self.data.isalnum()
def isdecimal(self): return self.data.isdecimal()
def isdigit(self): return self.data.isdigit()
def islower(self): return self.data.islower()