Skip to content

Commit

Permalink
type annotate twisted.web.test.test_xml
Browse files Browse the repository at this point in the history
  • Loading branch information
graingert committed Sep 14, 2023
1 parent d760cde commit 573bc42
Show file tree
Hide file tree
Showing 3 changed files with 82 additions and 75 deletions.
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -715,7 +715,6 @@ module = [
'twisted.web.test.test_web',
'twisted.web.test.test_webclient',
'twisted.web.test.test_wsgi',
'twisted.web.test.test_xml',
'twisted.web.test.test_xmlrpc',
'twisted.web.twcgi',
'twisted.web.wsgi',
Expand Down
2 changes: 1 addition & 1 deletion src/twisted/web/microdom.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ def cloneNode(self, deep=0, parent=None):
d.appendChild(newEl)
return d

doctype = None
doctype: None | str = None

def isEqualToDocument(self, n):
return (self.doctype == n.doctype) and Node.isEqualToNode(self, n)
Expand Down

0 comments on commit 573bc42

Please sign in to comment.