Skip to content

Commit 3d70a25

Browse files
committed
Revise documentation.
Also, make example outputs match example code, and light grammar editing.
1 parent a6f82a4 commit 3d70a25

File tree

2 files changed

+271
-307
lines changed

2 files changed

+271
-307
lines changed

astroquery/jplhorizons/core.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def __init__(self, id=None, location=None, epochs=None,
7575
References
7676
----------
7777
78-
.. [HORIZONSDOC_SELECTION] https://ssd.jpl.nasa.gov/?horizons_doc#selection (retrieved 2021 Sep 23).
78+
.. [HORIZONSDOC_SELECTION] https://ssd.jpl.nasa.gov/horizons/manual.html#select (retrieved 2021 Sep 23).
7979
8080
8181
Examples
@@ -86,7 +86,7 @@ def __init__(self, id=None, location=None, epochs=None,
8686
... 'stop':'2017-02-01',
8787
... 'step':'1d'})
8888
>>> print(eros) # doctest: +SKIP
89-
JPLHorizons instance "433"; location=568, epochs={'start': '2017-01-01', 'step': '1d', 'stop': '2017-02-01'}, id_type=smallbody
89+
JPLHorizons instance "433"; location=568, epochs={'start': '2017-01-01', 'step': '1d', 'stop': '2017-02-01'}, id_type=None
9090
"""
9191
super(HorizonsClass, self).__init__()
9292
self.id = id
@@ -135,7 +135,7 @@ def __str__(self):
135135
... 'stop':'2017-02-01',
136136
... 'step':'1d'})
137137
>>> print(eros) # doctest: +SKIP
138-
JPLHorizons instance "433"; location=568, epochs={'start': '2017-01-01', 'step': '1d', 'stop': '2017-02-01'}, id_type=smallbody
138+
JPLHorizons instance "433"; location=568, epochs={'start': '2017-01-01', 'step': '1d', 'stop': '2017-02-01'}, id_type=None
139139
"""
140140
return ('JPLHorizons instance \"{:s}\"; location={:s}, '
141141
'epochs={:s}, id_type={:s}').format(

0 commit comments

Comments
 (0)