From 99db33d25a21fb87f497af063d736d113733567c Mon Sep 17 00:00:00 2001 From: Jeff Forcier Date: Thu, 10 Dec 2015 18:32:31 -0800 Subject: Fix ambiguous API refs causing sphinx to fart --- paramiko/channel.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/paramiko/channel.py b/paramiko/channel.py index 8a1c0f87..44a4b291 100644 --- a/paramiko/channel.py +++ b/paramiko/channel.py @@ -306,11 +306,11 @@ class Channel (ClosingContextManager): `.Transport` or session's ``window_size`` (e.g. that set by the ``default_window_size`` kwarg for `.Transport.__init__`) will cause `.recv_exit_status` to hang indefinitely if it is called prior to a - sufficiently large `.read` (or if there are no threads calling - `.read` in the background). + sufficiently large `~Channel..read` (or if there are no threads + calling `~Channel.read` in the background). In these cases, ensuring that `.recv_exit_status` is called *after* - `.read` (or, again, using threads) can avoid the hang. + `~Channel.read` (or, again, using threads) can avoid the hang. :return: the exit code (as an `int`) of the process on the server. -- cgit v1.2.3