Clarify something about contexts

This commit is contained in:
Dave Halter
2018-10-24 00:45:06 +02:00
parent da3ffd8bd0
commit 7856d27724
2 changed files with 7 additions and 2 deletions

View File

@@ -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

View File

@@ -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__