Skip to content

Commit 75344a4

Browse files
authored
Updated docstrings, changelog (#228)
* Updated docstrings, changelog
1 parent b4413bf commit 75344a4

File tree

3 files changed

+20
-15
lines changed

3 files changed

+20
-15
lines changed

Changelog.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Changes
1313
for example for Oauth and other two-factor (2FA) or more factor authentication. Thanks @MattCatz .
1414
* `ssh2.sftp_handle.SFTPHandle.closed` is now a public property indicating whether `ssh2.sftp_handle.SFTPHandle.close`
1515
was called on a `SFTPHandle` or not.
16+
* Added `ssh2.channel.Channel.signal` function for sending signals over SSH to an open channel - #221
1617

1718

1819
1.1.2

ssh2/channel.c

Lines changed: 15 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ssh2/channel.pyx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -575,6 +575,10 @@ cdef class Channel:
575575
"""
576576
Send signal to channel.
577577
578+
Signame must be a free form signal name without the leading SIG. Eg 'HUP', 'INT', 'TERM' and so forth.
579+
580+
See :py:mod:`signal.Signals`.
581+
578582
:param signame: Signal name to send to channel.
579583
:type signame: str
580584
"""

0 commit comments

Comments
 (0)