1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
|
Description: Fix Sphinx rtype
Fixes FTBFS with recent versions of Sphinx which treat the following
warning as an error: "more than one target found for cross-reference
u'string': sfml.graphics.Text.string, sfml.network.IpAddress.string".
Forwarded: no
Author: Graham Inggs <ginggs@debian.org>
Last-Update: 2017-05-29
--- a/doc/source/api/audio.rst
+++ b/doc/source/api/audio.rst
@@ -142,7 +142,7 @@
will be converted internally in an array of **Int16**) and its
lenght must be an even number.
- :rtype: bytes or string
+ :rtype: bytes or str
SoundBuffer
^^^^^^^^^^^
@@ -872,7 +872,7 @@
none is available, None is returned.
:return: The name of the default audio capture device
- :rtype: string (or None)
+ :rtype: str (or None)
.. method:: set_device(name)
--- a/doc/source/api/graphics.rst
+++ b/doc/source/api/graphics.rst
@@ -2142,7 +2142,7 @@
Set/get the text's string.
- :rtype: bytes or string
+ :rtype: bytes or str
.. py:attribute:: font
--- a/doc/source/api/window.rst
+++ b/doc/source/api/window.rst
@@ -448,7 +448,7 @@
Return a copy of the data inside.
- :rtype: bytes or string
+ :rtype: bytes or str
Window
|