Skip to content

Commit

Permalink
Merge pull request #45 from jdemeyer/setecho_msg
Browse files Browse the repository at this point in the history
Clarify setecho error message
  • Loading branch information
takluyver authored Feb 7, 2018
2 parents a8bf138 + 8aa7dea commit 4316bca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ptyprocess/ptyprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ class PtyProcessError(Exception):
# to do this from the child before we exec()

def _setecho(fd, state):
errmsg = 'setecho() may not be called on this platform'
errmsg = 'setecho() may not be called on this platform (it may still be possible to enable/disable echo when spawning the child process)'

try:
attr = termios.tcgetattr(fd)
Expand Down

0 comments on commit 4316bca

Please sign in to comment.