mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-10 21:42:25 +08:00
Upgrade to latest 3.12 and 3.13 versions for stubtest (#12131)
This commit is contained in:
@@ -33,7 +33,7 @@ class JOIN_STYLE:
|
||||
class BaseGeometry(Geometry):
|
||||
@deprecated(
|
||||
"Directly calling 'BaseGeometry()' is deprecated. To create an empty geometry, "
|
||||
"use one of the subclasses instead, for example 'GeometryCollection()'." # pyright: ignore[reportImplicitStringConcatenation]
|
||||
"use one of the subclasses instead, for example 'GeometryCollection()'."
|
||||
)
|
||||
def __new__(self) -> GeometryCollection: ...
|
||||
def __bool__(self) -> bool: ...
|
||||
@@ -280,6 +280,6 @@ class GeometrySequence(Generic[_P_co]):
|
||||
class EmptyGeometry(BaseGeometry):
|
||||
@deprecated(
|
||||
"The 'EmptyGeometry()' constructor is deprecated. Use one of the "
|
||||
"geometry subclasses instead, for example 'GeometryCollection()'." # pyright: ignore[reportImplicitStringConcatenation]
|
||||
"geometry subclasses instead, for example 'GeometryCollection()'."
|
||||
)
|
||||
def __new__(self) -> GeometryCollection: ... # type: ignore[misc]
|
||||
|
||||
Reference in New Issue
Block a user