]> granicus.if.org Git - python/commit
Silence -3 warnings in pstats: a dict.has_key() usage and backport solution to
authorBrett Cannon <bcannon@gmail.com>
Sun, 3 Aug 2008 22:52:42 +0000 (22:52 +0000)
committerBrett Cannon <bcannon@gmail.com>
Sun, 3 Aug 2008 22:52:42 +0000 (22:52 +0000)
commitc3ce0e53ad81263b20ef660722a4e65c40353654
tree91f3a84057a20c24e4e1387962e344be8b7bfbe2
parentcc2f7b4994210cb415953d99124ca3a5f449cf39
Silence -3 warnings in pstats: a dict.has_key() usage and backport solution to
move from list.sort(cmp=) to key=.
Lib/pstats.py