aboutsummaryrefslogtreecommitdiff
path: root/discord/opus.py
diff options
context:
space:
mode:
authorRapptz <[email protected]>2015-12-08 19:47:47 -0500
committerRapptz <[email protected]>2015-12-08 19:47:47 -0500
commit9bec041423799f81b63cd00c54526a2253fc94f3 (patch)
tree149dd87bc4ca707c26a7a924b40a25a31ef8d110 /discord/opus.py
parentAdd OpusNotLoaded exception and opus.is_loaded utility function. (diff)
downloaddiscord.py-9bec041423799f81b63cd00c54526a2253fc94f3.tar.xz
discord.py-9bec041423799f81b63cd00c54526a2253fc94f3.zip
Documentation fixes for opus related import errors.
Diffstat (limited to 'discord/opus.py')
-rw-r--r--discord/opus.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/discord/opus.py b/discord/opus.py
index 2f1e2d1d..10357ae2 100644
--- a/discord/opus.py
+++ b/discord/opus.py
@@ -80,10 +80,11 @@ def load_opus(name):
"""Loads the libopus shared library for use with voice.
If this function is not called then the library uses the function
- `ctypes.util.find_library <find_library>` and then loads that one
+ `ctypes.util.find_library`__ and then loads that one
if available.
- .. find_library: https://docs.python.org/3.5/library/ctypes.html#finding-shared-libraries
+ .. _find library: https://docs.python.org/3.5/library/ctypes.html#finding-shared-libraries
+ __ `find library`_
Not loading a library leads to voice not working.
@@ -100,7 +101,7 @@ def load_opus(name):
----
On Windows, the .dll extension is not necessary. However, on Linux
the full extension is required to load the library, e.g. ``libopus.so.1``.
- On Linux however, `find_library`_ will usually find the library automatically
+ On Linux however, `find library`_ will usually find the library automatically
without you having to call this.
Parameters