Browse Source
Keep comments consistent with other before/after comments
pull/7696/head
LightSage
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
5 additions and
6 deletions
-
docs/migrating.rst
|
|
@ -851,12 +851,11 @@ Therefore, ``Embed.Empty`` has been removed in favour of ``None``. |
|
|
|
|
|
|
|
.. code-block:: python |
|
|
|
|
|
|
|
# Before |
|
|
|
|
|
|
|
# before |
|
|
|
embed = discord.Embed(title='foo') |
|
|
|
embed.title = discord.Embed.Empty |
|
|
|
|
|
|
|
# After |
|
|
|
# after |
|
|
|
embed = discord.Embed(title='foo') |
|
|
|
embed.title = None |
|
|
|
|
|
|
|