Skip to content

Commit d97191e

Browse files
committed
Remove @AbstractMethod marker
1 parent 08a4548 commit d97191e

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

stubs/reportlab/reportlab/graphics/widgetbase.pyi

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
from _typeshed import Incomplete
2-
from abc import abstractmethod
32
from typing import Final
43

54
from reportlab.graphics import shapes
@@ -16,10 +15,8 @@ class PropHolder:
1615
def dumpProperties(self, prefix: str = "") -> None: ...
1716

1817
class Widget(PropHolder, shapes.UserNode):
19-
@abstractmethod
20-
def draw(self): ...
21-
@abstractmethod
22-
def demo(self): ...
18+
def draw(self): ... # abstract, but not marked as @abstractmethod
19+
def demo(self): ... # abstract, but not marked as @abstractmethod
2320
def provideNode(self) -> shapes.Shape: ...
2421
def getBounds(self) -> tuple[float, float, float, float]: ...
2522

0 commit comments

Comments
 (0)