Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 68d25b3

Browse files
committed
Add metaclass to stub file
1 parent 996b647 commit 68d25b3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lib/matplotlib/path.pyi

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@ from numpy.typing import ArrayLike
77

88
from typing import Any, overload
99

10-
class Path:
10+
class _HideDeepcopyMeta(type):
11+
def __new__(cls, name, bases, namespace):
12+
...
13+
14+
class Path(metaclass=_HideDeepcopyMeta):
1115
code_type: type[np.uint8]
1216
STOP: np.uint8
1317
MOVETO: np.uint8

0 commit comments

Comments
 (0)