Skip to content

Commit bef740d

Browse files
committed
Merge pull request #1 from keflavich/fixxmatch
Minor docstr-related fix
2 parents b6368d3 + d45d5cb commit bef740d

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

astroquery/xmatch/core.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,16 +40,16 @@ def query(self, cat1, cat2, max_distance, colRA1=None,
4040
Maximum allowed value is 180.
4141
colRA1 : str
4242
Name of the column holding the right ascension. Only required
43-
if `cat1` is an uploaded table or a pointer to a URL.
43+
if ``cat1`` is an uploaded table or a pointer to a URL.
4444
colDec1 : str
4545
Name of the column holding the declination. Only required if
46-
`cat1` is an uploaded table or a pointer to a URL.
46+
``cat1`` is an uploaded table or a pointer to a URL.
4747
colRA2 : str
4848
Name of the column holding the right ascension. Only required
49-
if `cat2` is an uploaded table or a pointer to a URL.
49+
if ``cat2`` is an uploaded table or a pointer to a URL.
5050
colDec2 : str
5151
Name of the column holding the declination. Only required if
52-
`cat2` is an uploaded table or a pointer to a URL.
52+
``cat2`` is an uploaded table or a pointer to a URL.
5353
5454
Returns
5555
-------
@@ -61,11 +61,12 @@ def query(self, cat1, cat2, max_distance, colRA1=None,
6161
cat1, cat2, max_distance, colRA1, colDec1, colRA2, colDec2)
6262
return ascii.read(response.text, format='csv')
6363

64-
@prepend_docstr_noreturns(query.__doc__)
64+
@prepend_docstr_noreturns("\n" + query.__doc__)
6565
def query_async(
6666
self, cat1, cat2, max_distance, colRA1=None,
6767
colDec1=None, colRA2=None, colDec2=None):
6868
"""
69+
6970
Returns
7071
-------
7172
response : `requests.Response`

0 commit comments

Comments
 (0)