mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-01 21:01:48 +07:00
closes https://github.com/JetBrains/intellij-community/pull/2403 GitOrigin-RevId: 09122e4c36fc6f40d9b79869152d0fd9f2fdeeda
20 lines
413 B
Python
20 lines
413 B
Python
class MyContextManager:
|
|
def __init__(self):
|
|
pass
|
|
|
|
def __exit__(self, exc_type, exc_val, exc_tb):
|
|
pass
|
|
|
|
def __enter__(self):
|
|
pass
|
|
|
|
|
|
class <weak_warning descr="Class names should use CapWords convention">MY_CONTEXT_MANAGER</weak_warning>:
|
|
def __init__(self):
|
|
pass
|
|
|
|
def __exit__(self, exc_type, exc_val, exc_tb):
|
|
pass
|
|
|
|
def __enter__(self):
|
|
pass |