From 6a5364ea1ef7af0b72c2c1749ce4abdee7c48496 Mon Sep 17 00:00:00 2001 From: hakril Date: Fri, 8 May 2020 23:30:16 +0200 Subject: [PATCH] Updated docstring of RPCClient to link to AlpcClient & documented AlpcClient.port_name --- windows/alpc.py | 2 +- windows/rpc/client.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/windows/alpc.py b/windows/alpc.py index 9dead06..091a56f 100644 --- a/windows/alpc.py +++ b/windows/alpc.py @@ -354,7 +354,7 @@ class AlpcClient(AlpcTransportBase): def __init__(self, port_name=None): """Init the :class:`AlpcClient` automatically connect to ``port_name`` using default values if given""" self.handle = None - self.port_name = None + self.port_name = None #: The name of the ALPC port the client is connect to. if port_name is not None: x = self.connect_to_port(port_name, "") diff --git a/windows/rpc/client.py b/windows/rpc/client.py index c1c5e9b..e1239e9 100644 --- a/windows/rpc/client.py +++ b/windows/rpc/client.py @@ -64,7 +64,7 @@ class RPCClient(object): """A client for RPC-over-ALPC able to bind to interface and perform calls using NDR32 marshalling""" REQUEST_IDENTIFIER = 0x11223344 def __init__(self, port): - self.alpc_client = alpc.AlpcClient(port) + self.alpc_client = alpc.AlpcClient(port) #: The :class:`windows.alpc.AlpcClient` used to communicate with the server self.number_of_bind_if = 0 # if -> interface self.if_bind_number = {}