Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: P. L. Lim <2090236+pllim@users.noreply.github.com>
  • Loading branch information
neutrinoceros and pllim committed May 8, 2024
1 parent 9039e61 commit 5d2c635
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions astropy/utils/system_info.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
r"""
A helper script to automate system info in bug reports.
This can be run as
```
python -c "import astropy; astropy.system_info()"
```
This can be run as::
python -c "import astropy; astropy.system_info()"
(note that the interpreter might be called python3 instead of python, depending
on your system's details)
Expand Down Expand Up @@ -54,11 +54,12 @@ def _report_packages() -> list[str]:


def system_info() -> None:
"""
"""Print relevant system information for astropy bug reports.
Examples
--------
>>> import astropy
>>> astropy.system_info()
>>> astropy.system_info() # doctest: +ELLIPSIS
platform
--------
platform.platform() = ...
Expand Down

0 comments on commit 5d2c635

Please sign in to comment.