Kaydet (Commit) 0fc91391 authored tarafından Brett Cannon's avatar Brett Cannon

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

üst f76c3daa
......@@ -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):
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment