mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-09 23:34:45 +08:00
Remove a redundant check from Name.desc_with_module
This commit is contained in:
@@ -734,8 +734,7 @@ class Name(BaseName):
|
|||||||
DeprecationWarning,
|
DeprecationWarning,
|
||||||
stacklevel=2
|
stacklevel=2
|
||||||
)
|
)
|
||||||
position = '' if self.in_builtin_module else '@%s' % self.line
|
return "%s:%s" % (self.module_name, self.description)
|
||||||
return "%s:%s%s" % (self.module_name, self.description, position)
|
|
||||||
|
|
||||||
@memoize_method
|
@memoize_method
|
||||||
def defined_names(self):
|
def defined_names(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user