mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-08-01 13:40:23 +08:00
Fix various argument of extension modules (#13651)
* Mark various positional-only arguments: These are all positional-only arguments in C code using the `METH_O` flag. * Remove various `*args, **kwargs` arguments that are using the `METH_NOARGS` flag in C.
This commit is contained in:
@@ -378,7 +378,7 @@ class ReplicationCursor(cursor):
|
||||
wal_end: Any
|
||||
def __init__(self, *args, **kwargs) -> None: ...
|
||||
def consume_stream(self, consumer, keepalive_interval=...): ...
|
||||
def read_message(self, *args, **kwargs): ...
|
||||
def read_message(self) -> Incomplete | None: ...
|
||||
def send_feedback(self, write_lsn=..., flush_lsn=..., apply_lsn=..., reply=..., force=...): ...
|
||||
def start_replication_expert(self, command, decode=..., status_interval=...): ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user