Skip to content

Commit 3820b49

Browse files
authored
Merge pull request #423 from hoefling/typing/support-unsetting-writer-in-tagtracer
ensure the type hints support the writer unsetting in tagtracer
2 parents e507275 + ad2f915 commit 3820b49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pluggy/_tracing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def _processmessage(self, tags: tuple[str, ...], args: tuple[object, ...]) -> No
4949
else:
5050
processor(tags, args)
5151

52-
def setwriter(self, writer: _Writer) -> None:
52+
def setwriter(self, writer: _Writer | None) -> None:
5353
self._writer = writer
5454

5555
def setprocessor(self, tags: str | tuple[str, ...], processor: _Processor) -> None:

0 commit comments

Comments
 (0)