@@ -5,6 +5,11 @@ __version__: str
5
5
6
6
class Point :
7
7
class AngleUnit :
8
+ """Members:
9
+
10
+ radian
11
+
12
+ degree"""
8
13
__members__ : ClassVar [dict ] = ... # read-only
9
14
__entries : ClassVar [dict ] = ...
10
15
degree : ClassVar [Point .AngleUnit ] = ...
@@ -22,11 +27,23 @@ class Point:
22
27
def __ne__ (self , other : object ) -> bool :
23
28
"""__ne__(self: object, other: object) -> bool"""
24
29
@property
25
- def name (self ) -> str : ...
30
+ def name (self ) -> str :
31
+ """name(self: handle) -> str
32
+
33
+ name(self: handle) -> str
34
+ """
26
35
@property
27
- def value (self ) -> int : ...
36
+ def value (self ) -> int :
37
+ """(arg0: pybind11_fixtures.demo.Point.AngleUnit) -> int"""
28
38
29
39
class LengthUnit :
40
+ """Members:
41
+
42
+ mm
43
+
44
+ pixel
45
+
46
+ inch"""
30
47
__members__ : ClassVar [dict ] = ... # read-only
31
48
__entries : ClassVar [dict ] = ...
32
49
inch : ClassVar [Point .LengthUnit ] = ...
@@ -45,9 +62,14 @@ class Point:
45
62
def __ne__ (self , other : object ) -> bool :
46
63
"""__ne__(self: object, other: object) -> bool"""
47
64
@property
48
- def name (self ) -> str : ...
65
+ def name (self ) -> str :
66
+ """name(self: handle) -> str
67
+
68
+ name(self: handle) -> str
69
+ """
49
70
@property
50
- def value (self ) -> int : ...
71
+ def value (self ) -> int :
72
+ """(arg0: pybind11_fixtures.demo.Point.LengthUnit) -> int"""
51
73
angle_unit : ClassVar [Point .AngleUnit ] = ...
52
74
length_unit : ClassVar [Point .LengthUnit ] = ...
53
75
x_axis : ClassVar [Point ] = ... # read-only
@@ -94,7 +116,8 @@ class Point:
94
116
2. distance_to(self: pybind11_fixtures.demo.Point, other: pybind11_fixtures.demo.Point) -> float
95
117
"""
96
118
@property
97
- def length (self ) -> float : ...
119
+ def length (self ) -> float :
120
+ """(arg0: pybind11_fixtures.demo.Point) -> float"""
98
121
99
122
def answer () -> int :
100
123
'''answer() -> int
0 commit comments