mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-07 12:44:33 +08:00
Add 'file' attribute to cgi.[Mini]FieldStorage (#1104)
This commit is contained in:
1 parent
ec83ed90eb
commit
671d3870c2
1 file changed
+2
-1
@@ -25,7 +25,7 @@ class MiniFieldStorage:
|
||||
filename = ... # type: Any
|
||||
list = ... # type: Any
|
||||
type = ... # type: Any
|
||||
file = ... # type: Any
|
||||
file = ... # type: Optional[IO[bytes]] # Always None
|
||||
type_options = ... # type: Dict[Any, Any]
|
||||
disposition = ... # type: Any
|
||||
disposition_options = ... # type: Dict[Any, Any]
|
||||
@@ -51,6 +51,7 @@ class FieldStorage(object):
|
||||
disposition = ... # type: str
|
||||
disposition_options = ... # type: Dict[str, str]
|
||||
filename = ... # type: Optional[str]
|
||||
file = ... # type: Optional[IO[bytes]]
|
||||
type = ... # type: str
|
||||
type_options = ... # type: Dict[str, str]
|
||||
innerboundary = ... # type: bytes
|
||||
|
||||
Reference in new issue
Block a user