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

f23c5d3dad154113362c999781613117f842b724
[etc/vim.git] / tests / data / preview / long_dict_values.py
1 my_dict = {
2     "something_something":
3         r"Lorem ipsum dolor sit amet, an sed convenire eloquentiam \t"
4         r"signiferumque, duo ea vocibus consetetur scriptorem. Facer \t"
5         r"signiferumque, duo ea vocibus consetetur scriptorem. Facer \t",
6 }
7
8 my_dict = {
9     "a key in my dict": a_very_long_variable * and_a_very_long_function_call() / 100000.0
10 }
11
12 my_dict = {
13     "a key in my dict": a_very_long_variable * and_a_very_long_function_call() * and_another_long_func() / 100000.0
14 }
15
16 my_dict = {
17     "a key in my dict": MyClass.some_attribute.first_call().second_call().third_call(some_args="some value")
18 }
19
20
21 # output
22
23
24 my_dict = {
25     "something_something": (
26         r"Lorem ipsum dolor sit amet, an sed convenire eloquentiam \t"
27         r"signiferumque, duo ea vocibus consetetur scriptorem. Facer \t"
28         r"signiferumque, duo ea vocibus consetetur scriptorem. Facer \t"
29     ),
30 }
31
32 my_dict = {
33     "a key in my dict": (
34         a_very_long_variable * and_a_very_long_function_call() / 100000.0
35     )
36 }
37
38 my_dict = {
39     "a key in my dict": (
40         a_very_long_variable
41         * and_a_very_long_function_call()
42         * and_another_long_func()
43         / 100000.0
44     )
45 }
46
47 my_dict = {
48     "a key in my dict": (
49         MyClass.some_attribute.first_call()
50         .second_call()
51         .third_call(some_args="some value")
52     )
53 }