mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-17 19:41:25 +08:00
Use PEP 585 syntax wherever possible (#6717)
This commit is contained in:
1 parent
e6cb341d94
commit
8d5d2520ac
237 files changed
+966
-1069
No files matched your search
@@ -1,9 +1,9 @@
|
||||
import json
|
||||
from typing import Any, Dict
|
||||
from typing import Any
|
||||
|
||||
from stripe import api_requestor as api_requestor
|
||||
|
||||
class StripeObject(Dict[Any, Any]):
|
||||
class StripeObject(dict[Any, Any]):
|
||||
class ReprJSONEncoder(json.JSONEncoder):
|
||||
def default(self, obj): ...
|
||||
def __init__(
|
||||
|
||||
Reference in new issue
Block a user