From 742179ee3884f6888cafd1a68d626097816ce864 Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Wed, 24 Oct 2018 00:39:11 +0200 Subject: [PATCH] Add __class__, because of how it's represented as a property --- test/completion/context.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/completion/context.py b/test/completion/context.py index d3e79b81..81865d00 100644 --- a/test/completion/context.py +++ b/test/completion/context.py @@ -16,7 +16,13 @@ class Y(X): #? ['func'] def f + #? ['__doc__'] + __doc__ #? [] + def __doc__ + # This might or might not be what we want, currently properties are also + # used like this. + #? ['__class__'] def __class__ #? ['__repr__']