]> git.madduck.net Git - etc/vim.git/blobdiff - tests/python2.py

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Show badge for stable docs, not latest
[etc/vim.git] / tests / python2.py
index 5214add9971e1d7038b19c9813c83486a1361043..4a22f46de4268f659661cfe1031cdad6caf3ee63 100644 (file)
@@ -8,7 +8,7 @@ print >> sys.stderr , "Look, a repr:", `sys`
 
 
 def function((_globals, _locals)):
 
 
 def function((_globals, _locals)):
-    exec "print 'hi from exec!'" in _globals, _locals
+    exec ur"print 'hi from exec!'" in _globals, _locals
 
 
 function((globals(), locals()))
 
 
 function((globals(), locals()))
@@ -27,7 +27,7 @@ print >>sys.stderr, "Look, a repr:", ` sys `
 
 
 def function((_globals, _locals)):
 
 
 def function((_globals, _locals)):
-    exec "print 'hi from exec!'" in _globals, _locals
+    exec ur"print 'hi from exec!'" in _globals, _locals
 
 
 function((globals(), locals()))
 
 
 function((globals(), locals()))