Data for updated quickdoc tests.

This commit is contained in:
Dmitry Cheryasov
2010-09-03 18:10:42 +03:00
parent 86da4b3d72
commit d747f292c0
9 changed files with 45 additions and 33 deletions

View File

@@ -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,&nbsp;v)<br>Inferred&nbsp;return&nbsp;type:&nbsp;None<br>Deletes&nbsp;X</code><small><br><br>Deleter of property</small><br></body></html>

View File

@@ -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

View File

@@ -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&nbsp;return&nbsp;type:&nbsp;int<br>Does&nbsp;things&nbsp;to&nbsp;X</code></body></html>

View File

@@ -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

View File

@@ -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,&nbsp;v)<br>Inferred&nbsp;return&nbsp;type:&nbsp;None<br>Sets&nbsp;X</code><small><br><br>Setter of property</small><br></body></html>

View File

@@ -9,6 +9,4 @@ class A(object):
"Sets X"
self.__x = v
a = A()
a.<the_ref>x = 1
A().<the_ref>x = 1

View File

@@ -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

View File

@@ -0,0 +1,7 @@
class A(object):
def __getX(self):
"Doc of getter"
return self.__x
x = property(__getX)
A().<the_ref>x

View File

@@ -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