diff options
author | Brett Cannon <bcannon@gmail.com> | 2006-08-25 01:06:13 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2006-08-25 01:06:13 (GMT) |
commit | 0fc9139193cecfd12bd78bd7ec059dc571a4415a (patch) | |
tree | 00edc5e5cad404c819426534a66be83acfc43b1f | |
parent | f76c3daafe1f95865665c36a4932ea53bc7b6a2d (diff) | |
download | cpython-0fc9139193cecfd12bd78bd7ec059dc571a4415a.zip cpython-0fc9139193cecfd12bd78bd7ec059dc571a4415a.tar.gz cpython-0fc9139193cecfd12bd78bd7ec059dc571a4415a.tar.bz2 |
Even more removals of '<>'; I can hear Barry shedding a manly tear ...
-rw-r--r-- | Lib/plat-riscos/riscosenviron.py | 2 | ||||
-rw-r--r-- | Lib/plat-riscos/rourl2path.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Lib/plat-riscos/riscosenviron.py b/Lib/plat-riscos/riscosenviron.py index 800ffcf..6b0f821 100644 --- a/Lib/plat-riscos/riscosenviron.py +++ b/Lib/plat-riscos/riscosenviron.py @@ -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): diff --git a/Lib/plat-riscos/rourl2path.py b/Lib/plat-riscos/rourl2path.py index 4fb1921..981ceba 100644 --- a/Lib/plat-riscos/rourl2path.py +++ b/Lib/plat-riscos/rourl2path.py @@ -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 |