Commit 25a371dc authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Fix Protocol that should take positional-only arguments

parent 68491afd
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
#  Copyright 2021-2022  Dominik Sekotill <dom.sekotill@kodo.org.uk>
#  Copyright 2021-2023  Dominik Sekotill <dom.sekotill@kodo.org.uk>
#
#  This Source Code Form is subject to the terms of the Mozilla Public
#  License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -35,7 +35,7 @@ if TYPE_CHECKING:

		__name__: str

		def __call__(self, match: str) -> Any: ...
		def __call__(self, match: str, /) -> object: ...


	class Decorator(Protocol[T]):