Sign in
fuchsia
/
third_party
/
github.com
/
pycqa
/
pylint
/
refs/heads/master
/
.
/
tests
/
functional
/
g
/
genexp_in_class_scope.py
blob: 05696381394efaec595ed22bb00599588bc77f30 [
file
] [
log
] [
blame
]
# pylint: disable=no-init,too-few-public-methods, missing-docstring
# pylint: disable=useless-object-inheritance
"""Class scope must be handled correctly in genexps"""
class
MyClass
(
object
):
var1
=
[]
var2
=
list
(
value
*
2
for
value
in
var1
)