mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 12:44:28 +08:00
Big diff: use lower-case list and dict (#5888)
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import sys
|
||||
from typing import List
|
||||
|
||||
class _Method: ...
|
||||
|
||||
@@ -10,7 +9,7 @@ METHOD_SHA512: _Method
|
||||
if sys.version_info >= (3, 7):
|
||||
METHOD_BLOWFISH: _Method
|
||||
|
||||
methods: List[_Method]
|
||||
methods: list[_Method]
|
||||
|
||||
if sys.version_info >= (3, 7):
|
||||
def mksalt(method: _Method | None = ..., *, rounds: int | None = ...) -> str: ...
|
||||
|
||||
Reference in New Issue
Block a user