Even more removals of '<>'; I can hear Barry shedding a manly tear ...

This commit is contained in:
Brett Cannon 2006-08-25 01:06:13 +00:00
parent f76c3daafe
commit 0fc9139193
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ class _Environ:
def values(self): return riscos.getenvdict().values()
def has_key(self, key):
value = riscos.getenv(key)
return value<>None
return value != None
def __contains__(self, key):
return riscos.getenv(key) is not None
def update(self, dict):

View File

@ -39,7 +39,7 @@ def url2pathname(url):
elif components[i] == '..':
components[i] = '^'
i += 1
elif components[i] == '' and i > 0 and components[i-1] <> '':
elif components[i] == '' and i > 0 and components[i-1] != '':
del components[i]
else:
i += 1