Sign in
◑
Theme
android
/
platform
/
tools
/
idea
/
studio-master-dev
/
.
/
python
/
testData
/
completion
/
slotsAsAllowedNames.after.py
blob: a3ec8be29a0aae192d69cf8f96c420b26d1d1350 [
file
]
class
A
(
object
):
__slots__
=
[
'foo'
]
def
__init__
(
self
):
self
.
bar
=
1
A
().
ba
class
B
:
__slots__
=
[
'foo'
]
def
__init__
(
self
):
self
.
bar
=
1
B
().
bar
class
C
(
object
):
__slots__
=
[
'foo'
,
'__dict__'
]
def
__init__
(
self
):
self
.
bar
=
1
C
().
bar