Big diff: use lower-case list and dict (#5888)

This commit is contained in:
Akuli
2021-08-08 19:26:35 +03:00
committed by GitHub
parent 11f54c3407
commit ce11072dbe
325 changed files with 2196 additions and 2334 deletions

View File

@@ -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: ...