projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68c8138
)
another wrong assumption fixed
author
Just van Rossum
<just@letterror.com>
Fri, 13 Dec 2002 15:14:22 +0000
(15:14 +0000)
committer
Just van Rossum
<just@letterror.com>
Fri, 13 Dec 2002 15:14:22 +0000
(15:14 +0000)
Mac/Tools/IDE/PyBrowser.py
patch
|
blob
|
history
diff --git
a/Mac/Tools/IDE/PyBrowser.py
b/Mac/Tools/IDE/PyBrowser.py
index 6a63fd036d719ba917582961124d1718e61a17a8..d81c46f2b1672cb927da7f62429cf2769e33ae55 100644
(file)
--- a/
Mac/Tools/IDE/PyBrowser.py
+++ b/
Mac/Tools/IDE/PyBrowser.py
@@
-585,9
+585,8
@@
def unpack_other(object, indent = 0):
return pack_items(items, indent)
def pack_items(items, indent = 0):
- items = map(lambda (k, v), type = type, simp = SIMPLE_TYPES, indent = indent:
- (k, v, not type(v) in simp, indent),
- items)
+ items = [(k, v, not isinstance(v, SIMPLE_TYPES), indent)
+ for k, v in items]
return tuple_caselesssort(items)
def caselesssort(alist):