Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2020-10-09 03:56:11 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-10-09 04:11:00 +0300
commit05710171cb5cee8ee5ea6b37213b4a64b84dcf53 (patch)
treed9dd1a00761f49079ea1296891ce8319bb6291a6 /source/blender/python
parentc69df6728a287e21ef60072f549cac7f1d43950f (diff)
PyDoc: resolve duplicate module warnings
Remove submodule listings from the module docstring, as this information already exists in the generator.
Diffstat (limited to 'source/blender/python')
-rw-r--r--source/blender/python/gpu/gpu_py_api.c15
-rw-r--r--source/blender/python/intern/bpy_app.c12
-rw-r--r--source/blender/python/mathutils/mathutils.c13
3 files changed, 4 insertions, 36 deletions
diff --git a/source/blender/python/gpu/gpu_py_api.c b/source/blender/python/gpu/gpu_py_api.c
index da7674eb7f9..33130291162 100644
--- a/source/blender/python/gpu/gpu_py_api.c
+++ b/source/blender/python/gpu/gpu_py_api.c
@@ -106,19 +106,8 @@ success:
* \{ */
PyDoc_STRVAR(GPU_doc,
- "This module provides Python wrappers for the GPU implementation in Blender. "
- "Some higher level functions can be found in the `gpu_extras` module. "
- "\n\n"
- "Submodules:\n"
- "\n"
- ".. toctree::\n"
- " :maxdepth: 1\n"
- "\n"
- " gpu.types.rst\n"
- " gpu.shader.rst\n"
- " gpu.matrix.rst\n"
- " gpu.select.rst\n"
- "\n");
+ "This module provides Python wrappers for the GPU implementation in Blender.\n"
+ "Some higher level functions can be found in the `gpu_extras` module.");
static struct PyModuleDef GPU_module_def = {
PyModuleDef_HEAD_INIT,
.m_name = "gpu",
diff --git a/source/blender/python/intern/bpy_app.c b/source/blender/python/intern/bpy_app.c
index 88ae0e92647..554ab2645a7 100644
--- a/source/blender/python/intern/bpy_app.c
+++ b/source/blender/python/intern/bpy_app.c
@@ -126,17 +126,7 @@ static PyStructSequence_Field app_info_fields[] = {
};
PyDoc_STRVAR(bpy_app_doc,
- "This module contains application values that remain unchanged during runtime.\n"
- "\n"
- "Submodules:\n"
- "\n"
- ".. toctree::\n"
- " :maxdepth: 1\n"
- "\n"
- " bpy.app.handlers.rst\n"
- " bpy.app.icons.rst\n"
- " bpy.app.timers.rst\n"
- " bpy.app.translations.rst\n");
+ "This module contains application values that remain unchanged during runtime.");
static PyStructSequence_Desc app_info_desc = {
"bpy.app", /* name */
diff --git a/source/blender/python/mathutils/mathutils.c b/source/blender/python/mathutils/mathutils.c
index afdf890943e..704aade6d94 100644
--- a/source/blender/python/mathutils/mathutils.c
+++ b/source/blender/python/mathutils/mathutils.c
@@ -39,18 +39,7 @@ PyDoc_STRVAR(
".. note::\n"
"\n"
" Classes, methods and attributes that accept vectors also accept other numeric sequences,\n"
- " such as tuples, lists."
- "\n\n"
- "Submodules:\n"
- "\n"
- ".. toctree::\n"
- " :maxdepth: 1\n"
- "\n"
- " mathutils.geometry.rst\n"
- " mathutils.bvhtree.rst\n"
- " mathutils.kdtree.rst\n"
- " mathutils.interpolate.rst\n"
- " mathutils.noise.rst\n"
+ " such as tuples, lists.\n"
"\n"
"The :mod:`mathutils` module provides the following classes:\n"
"\n"