Sign in
android
/
platform
/
tools
/
idea
/
2250e7e055295bee73366d360d15ea0270573ef6
/
.
/
python
/
testData
/
inspections
/
PyUnresolvedReferencesInspection
/
contextManagerSubclass.py
blob: f7406dedbb6f316b4914754696e5aa5f3021e930 [
file
] [
log
] [
blame
]
class
C
(
object
):
def
__enter__
(
self
):
return
self
class
D
(
C
):
def
foo
(
self
):
pass
with
D
()
as
cm
:
cm
.
foo
()
# pass