mirror of
https://github.com/davidhalter/jedi.git
synced 2026-01-23 04:12:05 +08:00
Merge pull request #141 from tkf/attribute-docstring
Attribute docstring support
This commit is contained in:
@@ -259,6 +259,9 @@ def find_name(scope, name_str, position=None, search_global=False,
|
||||
# so just ignore it.
|
||||
continue
|
||||
|
||||
if r.docstr:
|
||||
res_new.append(r)
|
||||
|
||||
scopes = follow_statement(r, seek_name=name_str)
|
||||
add += remove_statements(scopes)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user