mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-06 03:21:12 +07:00
Simplify and make describing decorators methods more flexible
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
@decorator1, @decorator2
|
||||
class A
|
||||
Doc of A
|
||||
8
python/testData/quickdoc/HoverOverManyDecoratorsClass.py
Normal file
8
python/testData/quickdoc/HoverOverManyDecoratorsClass.py
Normal file
@@ -0,0 +1,8 @@
|
||||
@decorator1
|
||||
@decorator2
|
||||
class A:
|
||||
"""Doc of A"""
|
||||
pass
|
||||
|
||||
|
||||
<the_ref>A
|
||||
@@ -0,0 +1,3 @@
|
||||
@decorator1, @decorator2
|
||||
def foo(param)
|
||||
Inferred type: (param: Any) -> None<br>
|
||||
@@ -0,0 +1,7 @@
|
||||
@decorator1
|
||||
@decorator2
|
||||
def foo(param):
|
||||
pass
|
||||
|
||||
|
||||
<the_ref>foo(1)
|
||||
3
python/testData/quickdoc/HoverOverOneDecoratorClass.html
Normal file
3
python/testData/quickdoc/HoverOverOneDecoratorClass.html
Normal file
@@ -0,0 +1,3 @@
|
||||
@decorator
|
||||
class A
|
||||
Doc of A
|
||||
7
python/testData/quickdoc/HoverOverOneDecoratorClass.py
Normal file
7
python/testData/quickdoc/HoverOverOneDecoratorClass.py
Normal file
@@ -0,0 +1,7 @@
|
||||
@decorator
|
||||
class A:
|
||||
"""Doc of A"""
|
||||
pass
|
||||
|
||||
|
||||
<the_ref>A
|
||||
@@ -0,0 +1,3 @@
|
||||
@decorator
|
||||
def foo(param)
|
||||
Inferred type: (param: Any) -> None<br>
|
||||
@@ -0,0 +1,6 @@
|
||||
@decorator
|
||||
def foo(param):
|
||||
pass
|
||||
|
||||
|
||||
<the_ref>foo(1)
|
||||
1
python/testData/quickdoc/ManyDecoratorsClass.html
Normal file
1
python/testData/quickdoc/ManyDecoratorsClass.html
Normal file
@@ -0,0 +1 @@
|
||||
<html><body><code>@<i>decorator1</i><br>@<i>decorator2</i><br>class <b>A</b><br>Doc of A</code></body></html>
|
||||
8
python/testData/quickdoc/ManyDecoratorsClass.py
Normal file
8
python/testData/quickdoc/ManyDecoratorsClass.py
Normal file
@@ -0,0 +1,8 @@
|
||||
@decorator1
|
||||
@decorator2
|
||||
class A:
|
||||
"""Doc of A"""
|
||||
pass
|
||||
|
||||
|
||||
<the_ref>A
|
||||
1
python/testData/quickdoc/ManyDecoratorsFunction.html
Normal file
1
python/testData/quickdoc/ManyDecoratorsFunction.html
Normal file
@@ -0,0 +1 @@
|
||||
<html><body><code>@<i>decorator1</i><br>@<i>decorator2</i><br>def <b>foo</b>(param)<br>Inferred type: (param: Any) -> None<br></code></body></html>
|
||||
7
python/testData/quickdoc/ManyDecoratorsFunction.py
Normal file
7
python/testData/quickdoc/ManyDecoratorsFunction.py
Normal file
@@ -0,0 +1,7 @@
|
||||
@decorator1
|
||||
@decorator2
|
||||
def foo(param):
|
||||
pass
|
||||
|
||||
|
||||
<the_ref>foo(1)
|
||||
1
python/testData/quickdoc/OneDecoratorClass.html
Normal file
1
python/testData/quickdoc/OneDecoratorClass.html
Normal file
@@ -0,0 +1 @@
|
||||
<html><body><code>@<i>decorator</i><br>class <b>A</b><br>Doc of A</code></body></html>
|
||||
7
python/testData/quickdoc/OneDecoratorClass.py
Normal file
7
python/testData/quickdoc/OneDecoratorClass.py
Normal file
@@ -0,0 +1,7 @@
|
||||
@decorator
|
||||
class A:
|
||||
"""Doc of A"""
|
||||
pass
|
||||
|
||||
|
||||
<the_ref>A
|
||||
1
python/testData/quickdoc/OneDecoratorFunction.html
Normal file
1
python/testData/quickdoc/OneDecoratorFunction.html
Normal file
@@ -0,0 +1 @@
|
||||
<html><body><code>@<i>decorator</i><br>def <b>foo</b>(param)<br>Inferred type: (param: Any) -> None<br></code></body></html>
|
||||
6
python/testData/quickdoc/OneDecoratorFunction.py
Normal file
6
python/testData/quickdoc/OneDecoratorFunction.py
Normal file
@@ -0,0 +1,6 @@
|
||||
@decorator
|
||||
def foo(param):
|
||||
pass
|
||||
|
||||
|
||||
<the_ref>foo(1)
|
||||
Reference in New Issue
Block a user