mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-17 04:01:25 +08:00
Remove a redundant check from Name.desc_with_module
This commit is contained in:
1 parent
784f9ff081
commit
be82d5ff36
1 file changed
+1
-2
+1
-2
@@ -734,8 +734,7 @@ class Name(BaseName):
|
||||
DeprecationWarning,
|
||||
stacklevel=2
|
||||
)
|
||||
position = '' if self.in_builtin_module else '@%s' % self.line
|
||||
return "%s:%s%s" % (self.module_name, self.description, position)
|
||||
return "%s:%s" % (self.module_name, self.description)
|
||||
|
||||
@memoize_method
|
||||
def defined_names(self):
|
||||
|
||||
Reference in new issue
Block a user