1
0
mirror of https://github.com/open-mmlab/mmdeploy.git synced 2025-01-14 08:09:43 +08:00
Yifan Zhou 78b37bbd32
[Fix]: Fix rewriter conflict when processing derived class ()
* Fix rewriter

* lint

* rename function and update docstring

* use is class

* Update docstring
2021-12-14 15:40:29 +08:00

14 lines
148 B
Python

# Copyright (c) OpenMMLab. All rights reserved.
def func():
return 1
class C:
def method(self):
return 1
class C2(C):
pass