diff options
Diffstat (limited to 'docs/migrating.rst')
| -rw-r--r-- | docs/migrating.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/migrating.rst b/docs/migrating.rst index 57d4f3a6..099872f5 100644 --- a/docs/migrating.rst +++ b/docs/migrating.rst @@ -22,7 +22,7 @@ Below are major model changes that have happened in v1.0 Snowflakes are int ~~~~~~~~~~~~~~~~~~~~ -Before v1.0, all snowflakes (the ``id`` attribute) were strings. This has been changed to ``int``. +Before v1.0, all snowflakes (the ``id`` attribute) were strings. This has been changed to :class:`int`. Quick example: :: @@ -657,7 +657,7 @@ For example, to wait for a reaction: :: # use user and reaction -Since this function now can return multiple arguments, the ``timeout`` parameter will now raise a ``asyncio.TimeoutError`` +Since this function now can return multiple arguments, the ``timeout`` parameter will now raise a :exc:`asyncio.TimeoutError` when reached instead of setting the return to ``None``. For example: .. code-block:: python3 |