]> git.madduck.net Git - etc/vim.git/blob - tests/data/simple_cases/bracketmatch.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:

Simplify empty line tracker (#3797)
[etc/vim.git] / tests / data / simple_cases / bracketmatch.py
1 for ((x in {}) or {})['a'] in x:
2     pass
3 pem_spam = lambda l, spam = {
4     "x": 3
5 }: not spam.get(l.strip())
6 lambda x=lambda y={1: 3}: y['x':lambda y: {1: 2}]: x
7
8
9 # output
10
11
12 for ((x in {}) or {})["a"] in x:
13     pass
14 pem_spam = lambda l, spam={"x": 3}: not spam.get(l.strip())
15 lambda x=lambda y={1: 3}: y["x" : lambda y: {1: 2}]: x