ref: c39fd3c54c90748ae264b148ab79b70a9599650f
parent: ee40db2fcd700d96bcba1ed2b6a9a9e75a76563a
author: Simon Howard <[email protected]>
date: Sun Oct 27 21:30:56 EDT 2013
Use .items() rather than .iteritems() for compatibility with Python 2.7 and Python 3.0 (thanks chungy). Subversion-branch: /branches/v2-branch Subversion-revision: 2726
--- a/man/simplecpp
+++ b/man/simplecpp
@@ -217,7 +217,7 @@
func(arg)
else:
if not ignore:
- for key, value in defines.iteritems():
+ for key, value in defines.items():
if isinstance(value, str):
line = line.replace(key, value)
print(line)