Skip to content

Commit

Permalink
Merge pull request #15829 from neutrinoceros/time/doc/fixes
Browse files Browse the repository at this point in the history
DOC: minor fixes to astropy.time's docs
  • Loading branch information
mhvk committed Jan 9, 2024
2 parents 9cd4f4f + 0597e6d commit c0ebce4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/time/index.rst
Expand Up @@ -487,9 +487,9 @@ Some arithmetic methods are supported as well: :meth:`~astropy.time.Time.min`,
To apply arithmetic methods to |Time| instances::

>> t.max()
>>> t.max()
<Time object: scale='utc' format='mjd' value=50002.5>
>> t.ptp(axis=0) # doctest: +FLOAT_CMP
>>> t.ptp(axis=0) # doctest: +FLOAT_CMP
<TimeDelta object: scale='tai' format='jd' value=[2. 2.]>

.. EXAMPLE END
Expand Down Expand Up @@ -576,7 +576,7 @@ val
^^^

The ``val`` argument specifies the input time or times and can be a single
string or number, or it can be a Python list or ```numpy`` array of strings or
string or number, or it can be a Python list or ``numpy`` array of strings or
numbers. To initialize a |Time| object based on a specified time, it *must* be
present.

Expand Down Expand Up @@ -614,7 +614,7 @@ the highest precision. For example::
format
^^^^^^

The ```format`` argument sets the time `time format`_, and as mentioned it is
The ``format`` argument sets the time `time format`_, and as mentioned it is
required unless the format can be unambiguously determined from the input times.


Expand Down

0 comments on commit c0ebce4

Please sign in to comment.