Kaydet (Commit) dc326b77 authored tarafından Benjamin Peterson's avatar Benjamin Peterson

Merged revisions 76158 via svnmerge from

svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r76158 | benjamin.peterson | 2009-11-08 18:49:19 -0600 (Sun, 08 Nov 2009) | 1 line

  convert to use print() function
........
üst 3ad104bc
......@@ -45,13 +45,13 @@ def modify():
def main():
paths, envpath = modify()
if len(paths) > 1:
print "Path(s) added:"
print '\n'.join(paths[1:])
print("Path(s) added:")
print('\n'.join(paths[1:]))
else:
print "No path was added"
print "\nPATH is now:\n%s\n" % envpath
print "Expanded:"
print winreg.ExpandEnvironmentStrings(envpath)
print("No path was added")
print("\nPATH is now:\n%s\n" % envpath)
print("Expanded:")
print(winreg.ExpandEnvironmentStrings(envpath))
if __name__ == '__main__':
main()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment