Skip to content

Commit

Permalink
Backport PR #15155: Documentation fix for issue #15132 PrimaryHDU.fro…
Browse files Browse the repository at this point in the history
…mstring() accepts bytes not bytearray for data parameter
  • Loading branch information
jaokeeffe authored and meeseeksmachine committed Aug 29, 2023
1 parent a45198f commit 8590f0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion astropy/io/fits/hdu/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ def fromstring(cls, data, checksum=False, ignore_missing_end=False, **kwargs):
Parameters
----------
data : str, bytearray, memoryview, ndarray
data : str, bytes, memoryview, ndarray
A byte string containing the HDU's header and data.
checksum : bool, optional
Expand Down

0 comments on commit 8590f0c

Please sign in to comment.