We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f824fe commit a011515Copy full SHA for a011515
stdlib/_operator.pyi
@@ -282,11 +282,13 @@ if sys.version_info >= (3, 11):
282
283
if sys.version_info >= (3, 12):
284
from collections.abc import Buffer
285
+
286
_B = TypeVar("_B", bound=Buffer)
287
@overload
288
def _compare_digest(a: str, b: str, /) -> bool: ...
289
290
def _compare_digest(a: _B, b: _B, /) -> bool: ...
291
292
else:
293
from typing import AnyStr
294
def _compare_digest(a: AnyStr, b: AnyStr, /) -> bool: ...
0 commit comments