Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
tools
/
idea
/
3a2425a5aed1bef93dab954745ad5665265eb70b
/
.
/
python
/
testData
/
resolve
/
AttributeDefinedInNew.py
blob: 8a63fae72fbfc2bf1d55db0777cb47e1c53b9116 [
file
] [
log
] [
blame
]
Tor Norbye
3a2425a
2013-11-04 10:16:08 -0800
[
diff
] [
blame^
]
1
class
Test
(
object
):
2
def
__new__
(
cls
,
foo
):
3
x
=
super
(
Test
,
cls
).
__new__
(
cls
)
4
x
.
foo
=
foo
5
return
x
6
7
def
bar
(
self
):
8
return
self
.
f
<
ref
>
oo