mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Even more removals of '<>'; I can hear Barry shedding a manly tear ...
This commit is contained in:
parent
f76c3daafe
commit
0fc9139193
2 changed files with 2 additions and 2 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue