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:
Guido van Rossum 2006-08-24 03:53:23 +00:00
parent 01c77c6628
commit b053cd8f40
36 changed files with 171 additions and 178 deletions

View file

@ -98,7 +98,7 @@ def shift_path_info(environ):
return None
path_parts = path_info.split('/')
path_parts[1:-1] = [p for p in path_parts[1:-1] if p and p<>'.']
path_parts[1:-1] = [p for p in path_parts[1:-1] if p and p != '.']
name = path_parts[1]
del path_parts[1]