Skip to content

Commit

Permalink
doc: err_write #390
Browse files Browse the repository at this point in the history
  • Loading branch information
mtn authored and justinmk committed Apr 2, 2019
1 parent f513983 commit 5e57718
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pynvim/api/nvim.py
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,10 @@ def out_write(self, msg, **kwargs):
return self.request('nvim_out_write', msg, **kwargs)

def err_write(self, msg, **kwargs):
"""Print `msg` as an error message."""
r"""Print `msg` as an error message.
The message is buffered (won't display) until linefeed ("\n").
"""
if self._thread_invalid():
# special case: if a non-main thread writes to stderr
# i.e. due to an uncaught exception, pass it through
Expand Down

0 comments on commit 5e57718

Please sign in to comment.