diff --git a/doc/python_api/rst/bgl.rst b/doc/python_api/rst/bgl.rst
index 99f481ce998..0b31e62963c 100644
--- a/doc/python_api/rst/bgl.rst
+++ b/doc/python_api/rst/bgl.rst
@@ -12,7 +12,7 @@ contents: dir(bgl). A simple search on the web can point to more
than enough material to teach OpenGL programming, from books to many
collections of tutorials.
-Here is a comprehensive `list of books `__ (non free).
+Here is a comprehensive `list of books `__ (non free).
The `arcsynthesis tutorials `__
is one of the best resources to learn modern OpenGL and
`g-truc `__
@@ -2067,7 +2067,7 @@ offers a set of extensive examples, including advanced features.
:arg length: Returns the length of the string returned in source (excluding the null terminator).
:type source: :class:`bgl.Buffer` char.
:arg source: Specifies an array of characters that is used to return the source code string.
-
+
.. function:: glShaderSource(shader, shader_string):