Skip to content

Commit a63a7b2

Browse files
committed
[docs] Fix fetch_stock not referenced as method in quickstart
1 parent 41bb036 commit a63a7b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/quickstart.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ It's a really basic example, but let's have a look what happens here:
3232

3333
1. First lines imports :py:mod:`asyncio` and the :class:`.Client` to interact with the API.
3434
2. Inside the ``main`` function we create our :class:`.Client` with our API key as a context manager.
35-
3. After that, we retrieve the :class:`.Stock` with ticker ``AAPL`` via the :attr:`~.Client.fetch_stock` method.
35+
3. After that, we retrieve the :class:`.Stock` with ticker ``AAPL`` via the :meth:`~.Client.fetch_stock` method.
3636
4. We then print out the :attr:`~.Stock.name` and :attr:`~.Stock.price` of the stock.
3737
5. Finally we execute our ``main`` coroutine with :py:func:`asyncio.run`.
3838

0 commit comments

Comments
 (0)