Skip to content

Commit

Permalink
Add docstring to print_err
Browse files Browse the repository at this point in the history
Clarify when this function should be used.
  • Loading branch information
victorlin committed May 6, 2024
1 parent 851a141 commit 8c9f247
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions augur/io/print.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@


def print_err(*args):
"""Print to stderr. When data goes to stdout (most cases), this should be
used for any informational messages, not just errors/warnings."""
print(*args, file=sys.stderr)

0 comments on commit 8c9f247

Please sign in to comment.