diff options
Diffstat (limited to 'docs/migrating_to_async.rst')
| -rw-r--r-- | docs/migrating_to_async.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/migrating_to_async.rst b/docs/migrating_to_async.rst index 109ad409..1853321c 100644 --- a/docs/migrating_to_async.rst +++ b/docs/migrating_to_async.rst @@ -142,7 +142,7 @@ Some examples of previously valid behaviour that is now invalid if client.servers[0].name == "test": # do something -Since they are no longer ``list``\s, they no longer support indexing or any operation other than iterating. +Since they are no longer :obj:`list`\s, they no longer support indexing or any operation other than iterating. In order to get the old behaviour you should explicitly cast it to a list. .. code-block:: python3 |