Skip to content

Commit 35b64a9

Browse files
authored
Merge pull request #2745 from mstcyr2/mast-docs-depEx
Updated deprecated example
2 parents 6c5e6ff + b2ec807 commit 35b64a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/mast/mast.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1307,7 +1307,7 @@ To view tokens accessible through your account, visit https://auth.mast.stsci.ed
13071307

13081308
>>> from astroquery.mast import Observations
13091309
...
1310-
>>> my_session = Observations(token="12348r9w0sa2392ff94as841")
1310+
>>> my_session = Observations.login(token="12348r9w0sa2392ff94as841")
13111311
INFO: MAST API token accepted, welcome User Name [astroquery.mast.core]
13121312
...
13131313
>>> sessioninfo = Observations.session_info()

0 commit comments

Comments
 (0)