mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Killed the <> operator. You must now use !=.
Opportunistically also fixed one or two places where '<> None' should be 'is not None' and where 'type(x) <> y' should be 'not isinstance(x, y)'.
This commit is contained in:
parent
01c77c6628
commit
b053cd8f40
36 changed files with 171 additions and 178 deletions
|
|
@ -912,7 +912,8 @@ class Manager:
|
|||
"""
|
||||
#for c in ph.loggers:
|
||||
for c in ph.loggerMap.keys():
|
||||
if string.find(c.parent.name, alogger.name) <> 0:
|
||||
# XXX Is the following correct? Shouldn't it be >= 0?
|
||||
if string.find(c.parent.name, alogger.name) != 0:
|
||||
alogger.parent = c.parent
|
||||
c.parent = alogger
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue