Sign in
android
/
platform
/
tools
/
idea
/
2250e7e055295bee73366d360d15ea0270573ef6
/
.
/
python
/
testData
/
inspections
/
PyClassHasNoInitInspection
/
new.py
blob: a3f9b68eefd403e3be6afca524f419c6b3308d38 [
file
] [
log
] [
blame
]
class
Test
(
object
):
def
__new__
(
cls
,
foo
):
# False positive
self
=
super
(
Test
,
cls
).
__new__
(
cls
)
self
.
foo
=
foo
return
self
def
bar
(
self
):
return
self
.
foo
t
=
Test
(
42
)
print
(
t
.
bar
())