mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-08 06:44:46 +08:00
Clarify something about contexts
This commit is contained in:
@@ -288,5 +288,6 @@ class Completion:
|
|||||||
next(filters)
|
next(filters)
|
||||||
for filter in filters:
|
for filter in filters:
|
||||||
for name in filter.values():
|
for name in filter.values():
|
||||||
|
# TODO we should probably check here for properties
|
||||||
if (name.api_type == 'function') == is_function:
|
if (name.api_type == 'function') == is_function:
|
||||||
yield name
|
yield name
|
||||||
|
|||||||
@@ -20,10 +20,14 @@ class Y(X):
|
|||||||
__doc__
|
__doc__
|
||||||
#? []
|
#? []
|
||||||
def __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__']
|
#? ['__class__']
|
||||||
def __class__
|
def __class__
|
||||||
|
#? []
|
||||||
|
__class__
|
||||||
|
|
||||||
|
|
||||||
#? ['__repr__']
|
#? ['__repr__']
|
||||||
def __repr__
|
def __repr__
|
||||||
|
|||||||
Reference in New Issue
Block a user