Skip to content

Commit

Permalink
Merge pull request #16009 from neutrinoceros/io/fits/doc/python2_is_n…
Browse files Browse the repository at this point in the history
…o_more

DOC: simplify a docstring that refered to Python2/Python3 differences
  • Loading branch information
pllim committed Feb 8, 2024
2 parents acccbcf + acba8d8 commit fe03663
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion astropy/io/fits/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ def isfile(f):
Returns True if the given object represents an OS-level file (that is,
``isinstance(f, file)``).
On Python 3 this also returns True if the given object is higher level
This also returns True if the given object is higher level
wrapper on top of a FileIO object, such as a TextIOWrapper.
"""
if isinstance(f, io.FileIO):
Expand Down

0 comments on commit fe03663

Please sign in to comment.