mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-29 15:16:54 +08:00
stdlib: Add defaults for positional-only parameters (#9655)
This commit is contained in:
@@ -321,7 +321,7 @@ class TreeBuilder:
|
||||
if sys.version_info >= (3, 8):
|
||||
# These two methods have pos-only parameters in the C implementation
|
||||
def comment(self, __text: str | None) -> Element: ...
|
||||
def pi(self, __target: str, __text: str | None = ...) -> Element: ...
|
||||
def pi(self, __target: str, __text: str | None = None) -> Element: ...
|
||||
|
||||
if sys.version_info >= (3, 8):
|
||||
class C14NWriterTarget:
|
||||
|
||||
Reference in New Issue
Block a user