mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-09 23:34:45 +08:00
Clarify something about contexts
This commit is contained in:
@@ -288,5 +288,6 @@ class Completion:
|
||||
next(filters)
|
||||
for filter in filters:
|
||||
for name in filter.values():
|
||||
# TODO we should probably check here for properties
|
||||
if (name.api_type == 'function') == is_function:
|
||||
yield name
|
||||
|
||||
@@ -20,10 +20,14 @@ class Y(X):
|
||||
__doc__
|
||||
#? []
|
||||
def __doc__
|
||||
# This might or might not be what we want, currently properties are also
|
||||
# used like this.
|
||||
|
||||
# This might or might not be what we wanted, currently properties are also
|
||||
# used like this. IMO this is not wanted ~dave.
|
||||
#? ['__class__']
|
||||
def __class__
|
||||
#? []
|
||||
__class__
|
||||
|
||||
|
||||
#? ['__repr__']
|
||||
def __repr__
|
||||
|
||||
Reference in New Issue
Block a user