Skip to content

Commit

Permalink
chore: automated black/isort formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored and abelcheung committed Apr 24, 2024
1 parent 568bc3b commit 3d3c6c5
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions lxml-stubs/_types.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ class _ElementFactory(Protocol, Generic[_ET_co]):
arguments would be merged together. The result is usually
`{**attrib, **_extra}`, but some places may deviate.
"""

def __call__(
self,
_tag: _TagName,
Expand Down
1 change: 0 additions & 1 deletion lxml-stubs/etree/_parser.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ class _FeedParser(Generic[_ET_co]):
```
"""
...

@deprecated("Removed since 5.0; renamed to set_element_class_lookup()")
def setElementClassLookup(
self, lookup: ElementClassLookup | None = None
Expand Down
2 changes: 1 addition & 1 deletion lxml-stubs/html/_element.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ else:

from .. import etree
from .._types import (
_ElementFactory,
_AnyStr,
_AttrName,
_AttrVal,
_ElementFactory,
_ElemPathArg,
_NSMapArg,
_TagSelector,
Expand Down
2 changes: 1 addition & 1 deletion lxml-stubs/sax.pyi
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from typing import Generic, overload
from xml.sax.handler import ContentHandler

from ._types import _ElementOrTree, _ElementFactory, _ET_co
from ._types import _ElementFactory, _ElementOrTree, _ET_co
from .etree import LxmlError, _ElementTree

class SaxError(LxmlError): ...
Expand Down

0 comments on commit 3d3c6c5

Please sign in to comment.