]> git.madduck.net Git - etc/vim.git/blob - tests/data/miscellaneous/stub.pyi

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:

Remove misleading phrase in Usage and Configuration (#3492)
[etc/vim.git] / tests / data / miscellaneous / stub.pyi
1 X: int
2
3 def f(): ...
4
5
6 class D: 
7     ...
8
9
10 class C:
11     ...
12
13 class B:
14     this_lack_of_newline_should_be_kept: int
15     def b(self) -> None: ...
16
17     but_this_newline_should_also_be_kept: int
18
19 class A:
20     attr: int
21     attr2: str
22
23     def f(self) -> int:
24         ...
25
26     def g(self) -> str: ...
27
28
29
30 def g():
31     ...
32
33 def h(): ...
34
35 if sys.version_info >= (3, 8):
36     class E:
37         def f(self): ...
38     class F:
39
40         def f(self): ...
41     class G: ...
42     class H: ...
43 else:
44     class I: ...
45     class J: ...
46     def f(): ...
47
48     class K:
49         def f(self): ...
50     def f(): ...
51
52 class Nested:
53     class dirty: ...
54     class little: ...
55     class secret:
56         def who_has_to_know(self): ...
57     def verse(self): ...
58
59 class Conditional:
60     def f(self): ...
61     if sys.version_info >= (3, 8):
62         def g(self): ...
63     else:
64         def g(self): ...
65     def h(self): ...
66     def i(self): ...
67     if sys.version_info >= (3, 8):
68         def j(self): ...
69     def k(self): ...
70     if sys.version_info >= (3, 8):
71         class A: ...
72         class B: ...
73         class C:
74             def l(self): ...
75             def m(self): ...
76
77
78 # output
79 X: int
80
81 def f(): ...
82
83 class D: ...
84 class C: ...
85
86 class B:
87     this_lack_of_newline_should_be_kept: int
88     def b(self) -> None: ...
89
90     but_this_newline_should_also_be_kept: int
91
92 class A:
93     attr: int
94     attr2: str
95
96     def f(self) -> int: ...
97     def g(self) -> str: ...
98
99 def g(): ...
100 def h(): ...
101
102 if sys.version_info >= (3, 8):
103     class E:
104         def f(self): ...
105
106     class F:
107         def f(self): ...
108
109     class G: ...
110     class H: ...
111
112 else:
113     class I: ...
114     class J: ...
115
116     def f(): ...
117
118     class K:
119         def f(self): ...
120
121     def f(): ...
122
123 class Nested:
124     class dirty: ...
125     class little: ...
126
127     class secret:
128         def who_has_to_know(self): ...
129
130     def verse(self): ...
131
132 class Conditional:
133     def f(self): ...
134     if sys.version_info >= (3, 8):
135         def g(self): ...
136     else:
137         def g(self): ...
138
139     def h(self): ...
140     def i(self): ...
141     if sys.version_info >= (3, 8):
142         def j(self): ...
143
144     def k(self): ...
145     if sys.version_info >= (3, 8):
146         class A: ...
147         class B: ...
148
149         class C:
150             def l(self): ...
151             def m(self): ...