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