Sign in
android
/
platform
/
tools
/
idea
/
c810bbf46e7246636afe1d18947a460cedc5d24d
/
.
/
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
())