mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
Use variable annotations everywhere (#2909)
This commit is contained in:
committed by
Sebastian Rittau
parent
b3c76aab49
commit
efb67946f8
@@ -3,12 +3,12 @@ from typing import Any, Optional
|
||||
class CookieError(Exception): ...
|
||||
|
||||
class Morsel(dict):
|
||||
key = ... # type: Any
|
||||
key: Any
|
||||
def __init__(self): ...
|
||||
def __setitem__(self, K, V): ...
|
||||
def isReservedKey(self, K): ...
|
||||
value = ... # type: Any
|
||||
coded_value = ... # type: Any
|
||||
value: Any
|
||||
coded_value: Any
|
||||
def set(self, key, val, coded_val, LegalChars=..., idmap=..., translate=...): ...
|
||||
def output(self, attrs: Optional[Any] = ..., header=...): ...
|
||||
def js_output(self, attrs: Optional[Any] = ...): ...
|
||||
@@ -37,4 +37,4 @@ class SmartCookie(BaseCookie):
|
||||
def value_decode(self, val): ...
|
||||
def value_encode(self, val): ...
|
||||
|
||||
Cookie = ... # type: Any
|
||||
Cookie: Any
|
||||
|
||||
Reference in New Issue
Block a user