Sign in
◑
Theme
android
/
platform
/
tools
/
idea
/
studio-master-dev
/
.
/
python
/
testData
/
inspections
/
PyAttributeOutsideInitInspection
/
property.py
blob: 29a69483780c713860a3cb5f5c97b19e30c50031 [
file
]
class
C
(
object
):
def
__init__
(
self
,
value
):
self
.
x
=
value
def
getx
(
self
):
return
self
.
_x
def
setx
(
self
,
value
):
self
.
_x
=
value
# False positive for self._x
x
=
property
(
getx
,
setx
,
doc
=
"The 'x' property."
)