diff options
author | Benjamin Peterson <benjamin@python.org> | 2009-05-09 19:44:56 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2009-05-09 19:44:56 (GMT) |
commit | cf7925dfc61d770c58153fd96170192e11cf8f39 (patch) | |
tree | b424709ae91cbefeb2d6e7d489a326fec948685f /Lib/lib2to3/fixes/fix_methodattrs.py | |
parent | d481e3d7914d20238c62c76991255b3b2b5e4a17 (diff) | |
download | cpython-cf7925dfc61d770c58153fd96170192e11cf8f39.zip cpython-cf7925dfc61d770c58153fd96170192e11cf8f39.tar.gz cpython-cf7925dfc61d770c58153fd96170192e11cf8f39.tar.bz2 |
remove unneeded uses of str()
Diffstat (limited to 'Lib/lib2to3/fixes/fix_methodattrs.py')
-rw-r--r-- | Lib/lib2to3/fixes/fix_methodattrs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/lib2to3/fixes/fix_methodattrs.py b/Lib/lib2to3/fixes/fix_methodattrs.py index 814455e..ae4096c 100644 --- a/Lib/lib2to3/fixes/fix_methodattrs.py +++ b/Lib/lib2to3/fixes/fix_methodattrs.py @@ -19,5 +19,5 @@ class FixMethodattrs(fixer_base.BaseFix): def transform(self, node, results): attr = results["attr"][0] - new = str(MAP[attr.value]) + new = MAP[attr.value] attr.replace(Name(new, prefix=attr.get_prefix())) |