mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-08 14:05:15 +08:00
many new descriptor tests
This commit is contained in:
1 parent
9e585c3ec1
commit
d91f13ab9b
2 files changed
+130
-42
No files matched your search
@@ -94,23 +94,6 @@ nothing("")[0]
|
||||
#? str()
|
||||
nothing("")[1]
|
||||
|
||||
# -----------------
|
||||
# properties
|
||||
# -----------------
|
||||
|
||||
class PropClass():
|
||||
def __init__(self, a):
|
||||
self.a = a
|
||||
@property
|
||||
def ret(self):
|
||||
return self.a
|
||||
|
||||
#? str()
|
||||
PropClass("").ret
|
||||
|
||||
#? []
|
||||
PropClass().ret.
|
||||
|
||||
# -----------------
|
||||
# not found decorators
|
||||
# -----------------
|
||||
|
||||
Reference in new issue
Block a user