mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-06 03:21:12 +07:00
Data for updated quickdoc tests.
This commit is contained in:
@@ -1,10 +1 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
|
||||
"http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title></title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
<html><body>property <b><code>x</code></b> of class <a href="psi_element://#class#">A</a>(<a href="psi_element://#parent#object">object</a>)<br><i>Copied from getter:</i><br>Does things to X<code><br><br>@<i>x.deleter</i><br>def <b>x</b>(self, v)<br>Inferred return type: None<br>Deletes X</code><small><br><br>Deleter of property</small><br></body></html>
|
||||
@@ -0,0 +1,12 @@
|
||||
class A(object):
|
||||
@property
|
||||
def x(self):
|
||||
"Does things to X"
|
||||
return 1
|
||||
|
||||
@x.deleter
|
||||
def x(self, v):
|
||||
"Deletes X"
|
||||
self.__x = None
|
||||
|
||||
del A().<the_ref>x
|
||||
@@ -1,10 +1 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
|
||||
"http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title></title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
<html><body><code><small>class <a href="psi_element://#class#">A</a>(<a href="psi_element://#parent#object">object</a>)</small><br><br>@<i>property</i><br>def <b>x</b>(self)<br>Inferred return type: int<br>Does things to X</code></body></html>
|
||||
@@ -0,0 +1,8 @@
|
||||
class A(object):
|
||||
@property
|
||||
def x(self):
|
||||
<the_doc>"Does things to X"
|
||||
return 1
|
||||
|
||||
a = A()
|
||||
a.<the_ref>x
|
||||
|
||||
@@ -1,10 +1 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
|
||||
"http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title></title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
<html><body>property <b><code>x</code></b> of class <a href="psi_element://#class#">A</a>(<a href="psi_element://#parent#object">object</a>)<br><i>Copied from getter:</i><br>Does things to X<code><br><br>@<i>x.setter</i><br>def <b>x</b>(self, v)<br>Inferred return type: None<br>Sets X</code><small><br><br>Setter of property</small><br></body></html>
|
||||
@@ -9,6 +9,4 @@ class A(object):
|
||||
"Sets X"
|
||||
self.__x = v
|
||||
|
||||
a = A()
|
||||
a.<the_ref>x = 1
|
||||
|
||||
A().<the_ref>x = 1
|
||||
@@ -0,0 +1,7 @@
|
||||
class A(object):
|
||||
def __getX(self):
|
||||
"Doc of getter"
|
||||
return self.__x
|
||||
x = property(fdel=__getX)
|
||||
|
||||
del A().<the_ref>x
|
||||
@@ -0,0 +1,7 @@
|
||||
class A(object):
|
||||
def __getX(self):
|
||||
"Doc of getter"
|
||||
return self.__x
|
||||
x = property(__getX)
|
||||
|
||||
A().<the_ref>x
|
||||
@@ -0,0 +1,7 @@
|
||||
class A(object):
|
||||
def __getX(self, x):
|
||||
"Doc of getter"
|
||||
self.__x = x
|
||||
x = property(fset=__getX)
|
||||
|
||||
A().<the_ref>x = 1
|
||||
Reference in New Issue
Block a user