From 26f7fd82dc05a4774e9a575f41a1bfb37ed2a815 Mon Sep 17 00:00:00 2001 From: Tim Riddermann Date: Mon, 24 Jul 2023 10:14:33 +0200 Subject: [PATCH] removed unnessesary comment --- construct-stubs/core.pyi | 4 ---- 1 file changed, 4 deletions(-) diff --git a/construct-stubs/core.pyi b/construct-stubs/core.pyi index d138539..aa1c4c7 100644 --- a/construct-stubs/core.pyi +++ b/construct-stubs/core.pyi @@ -25,10 +25,6 @@ from construct.lib import ( # - Higher Kinded Types: https://github.com/python/typing/issues/548 # - Higher Kinded Types: https://sobolevn.me/2020/10/higher-kinded-types-in-python -# unfortunalty the static type checkers "pyright" and "mypy" are slight different. pyright is not fully analysing the type hint of the -# self type in the __init__ (eg. self: Construct[int, int] is not working). but pyright would support such type hints of the return type -# of __new__. indeed mypy doens not support the type inference for the method __new__, but fully supports the annotation of self in __init__... - StreamType = t.IO[bytes] FilenameType = t.Union[str, bytes, os.PathLike[str], os.PathLike[bytes]] PathType = str