properties with setters are now reported as 'property' for completion (#1983)

* properties with setters are now reported as 'property' for completion

* code cleanups

* fixed test

* fixed tests

* Revert "fixed test"

This reverts commit a80c955a48.

* code quality cleanup

* so picky

* Revert "Revert "fixed test""

This reverts commit 58dfc5292e.

* updated test per maintainer comments #1983

* removed extra char
This commit is contained in:
Ehsan Iran-Nejad
2024-02-19 06:07:47 -06:00
committed by GitHub
parent 740b474eda
commit 54a6dadde3
3 changed files with 13 additions and 11 deletions

View File

@@ -21,11 +21,9 @@ class Y(X):
#? []
def __doc__
# 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__
#? []
def __class__
#? ['__class__']
__class__