From f5888765871b9f6ba1b7affca9271b1a3d0c8a8e Mon Sep 17 00:00:00 2001 From: Rapptz Date: Mon, 22 May 2017 07:21:23 -0400 Subject: Use Python3Lexer instead of PythonLexer for pygments. --- discord/utils.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'discord/utils.py') diff --git a/discord/utils.py b/discord/utils.py index 2f9f61f9..35044836 100644 --- a/discord/utils.py +++ b/discord/utils.py @@ -188,19 +188,19 @@ def get(iterable, **attrs): Basic usage: - .. code-block:: python + .. code-block:: python3 member = discord.utils.get(message.guild.members, name='Foo') Multiple attribute matching: - .. code-block:: python + .. code-block:: python3 channel = discord.utils.get(guild.channels, name='Foo', type=ChannelType.voice) Nested attribute matching: - .. code-block:: python + .. code-block:: python3 channel = discord.utils.get(client.get_all_channels(), guild__name='Cool', name='general') -- cgit v1.2.3