We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2de765d commit d990da2Copy full SHA for d990da2
sphinx/ext/autodoc/_property_types.py
@@ -46,7 +46,7 @@ class _ItemProperties:
46
47
# @property
48
# def name(self) -> str:
49
- # return self.parts[-1]
+ # return self.module_name.rpartition('.')[2]
50
51
@property
52
def full_name(self) -> str:
@@ -69,10 +69,6 @@ class _ModuleProperties(_ItemProperties):
69
70
# return self.module_name.rpartition('.')[2]
71
72
- @property
73
- def full_name(self) -> str:
74
- return self.module_name
75
-
76
77
def parent_names(self) -> tuple[str, ...]:
78
return tuple(self.module_name.split('.')[:-1])
0 commit comments