]> git.madduck.net Git - etc/vim.git/blobdiff - tests/expression.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:

Fix spurious extra spaces after opening parentheses and in default arguments
[etc/vim.git] / tests / expression.py
index 3291dc21fc0d497566e7cb14ac5f8cd3d0eb561f..1d9f0ab57ade05f8f35ef02b04962e6c6673da31 100644 (file)
@@ -106,6 +106,8 @@ a = (1,)
 b = 1,
 c = 1
 d = (1,) + a + (2,)
 b = 1,
 c = 1
 d = (1,) + a + (2,)
+what_is_up_with_those_new_coord_names = (coord_names + set(vars_to_create)) + set(vars_to_remove)
+what_is_up_with_those_new_coord_names = (coord_names | set(vars_to_create)) - set(vars_to_remove)
 
 
 def gen():
 
 
 def gen():
@@ -228,6 +230,12 @@ a = (1,)
 b = 1,
 c = 1
 d = (1,) + a + (2,)
 b = 1,
 c = 1
 d = (1,) + a + (2,)
+what_is_up_with_those_new_coord_names = (coord_names + set(vars_to_create)) + set(
+    vars_to_remove
+)
+what_is_up_with_those_new_coord_names = (coord_names | set(vars_to_create)) - set(
+    vars_to_remove
+)
 
 
 def gen():
 
 
 def gen():