Skip to content

Commit 24945ce

Browse files
committed
chore: fix name import location in multisubclass patch
1 parent 1192d3e commit 24945ce

1 file changed

Lines changed: 14 additions & 8 deletions

File tree

multi-subclass.patch

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
pyproject.toml | 2 +-
22
src/lxml-stubs/cssselect.pyi | 10 ++---
33
src/lxml-stubs/etree/_element.pyi | 74 +++++++++++++++++-----------------
4-
src/lxml-stubs/etree/_factory_func.pyi | 6 +--
4+
src/lxml-stubs/etree/_factory_func.pyi | 7 ++--
55
src/lxml-stubs/html/_element.pyi | 26 ++++++------
66
src/lxml-stubs/objectify/_element.pyi | 6 +--
77
tests/runtime/_testutils/common.py | 2 +-
8-
7 files changed, 63 insertions(+), 63 deletions(-)
8+
7 files changed, 63 insertions(+), 64 deletions(-)
99

1010
diff --git a/pyproject.toml b/pyproject.toml
1111
index fde935a..ab3da97 100644
@@ -355,21 +355,27 @@ index bcb5d96..8425502 100644
355355
Element: TypeAlias = _Element
356356

357357
diff --git a/src/lxml-stubs/etree/_factory_func.pyi b/src/lxml-stubs/etree/_factory_func.pyi
358-
index 3dd52b8..1dfdf67 100644
358+
index 3dd52b8..d692fb7 100644
359359
--- a/src/lxml-stubs/etree/_factory_func.pyi
360360
+++ b/src/lxml-stubs/etree/_factory_func.pyi
361-
@@ -1,9 +1,9 @@
361+
@@ -1,7 +1,6 @@
362362
from typing import TypeVar, overload
363363

364364
from .._types import (
365365
- _ET,
366366
_AttrMapping,
367367
_AttrVal,
368-
+ _Element,
369368
_NSMapArg,
370-
_TagName,
371-
_TextArg,
372-
@@ -57,10 +57,10 @@ def SubElement(
369+
@@ -10,7 +9,7 @@ from .._types import (
370+
)
371+
from ..html import HtmlElement
372+
from ..objectify import ObjectifiedElement, StringElement
373+
-from ._element import _Comment, _Entity, _ProcessingInstruction
374+
+from ._element import _Comment, _Element, _Entity, _ProcessingInstruction
375+
376+
_T = TypeVar("_T")
377+
378+
@@ -57,10 +56,10 @@ def SubElement(
373379
) -> HtmlElement: ...
374380
@overload
375381
def SubElement(

0 commit comments

Comments
 (0)