Skip to content

Commit

Permalink
fix twisted.web._cgi mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
graingert committed Aug 18, 2023
1 parent 4f9b4f1 commit 18bf88a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/twisted/web/_cgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
from email.message import Message
from email.parser import FeedParser
from io import BytesIO, StringIO, TextIOWrapper
from typing import Any

maxlen = 0
"""
Expand Down Expand Up @@ -75,10 +76,10 @@ class MiniFieldStorage:
list = None
type = None
file = None
type_options = {}
type_options: dict[Any, Any] = {}
disposition = None
disposition_options = {}
headers = {}
disposition_options: dict[Any, Any] = {}
headers: dict[Any, Any] = {}

def __init__(self, name, value):
"""Constructor from field name and value."""
Expand Down

0 comments on commit 18bf88a

Please sign in to comment.