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>2014-01-10 15:17:33 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-01-10 15:18:34 +0400
commitee15db9db595ca47412664e3cb291dc23b73b0a4 (patch)
treed9b956162615ecbb498852054e462318fa823eaa /source/blender/python/bmesh/bmesh_py_types_customdata.c
parentcc35ad2b3d1b9f48f517fd2ed053076251de7bf1 (diff)
Fix T38150: BMLayerCollection.items/values docs switched
Diffstat (limited to 'source/blender/python/bmesh/bmesh_py_types_customdata.c')
-rw-r--r--source/blender/python/bmesh/bmesh_py_types_customdata.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/source/blender/python/bmesh/bmesh_py_types_customdata.c b/source/blender/python/bmesh/bmesh_py_types_customdata.c
index 0ba08f3e8d0..dec78123601 100644
--- a/source/blender/python/bmesh/bmesh_py_types_customdata.c
+++ b/source/blender/python/bmesh/bmesh_py_types_customdata.c
@@ -460,13 +460,13 @@ static PyObject *bpy_bmlayercollection_keys(BPy_BMLayerCollection *self)
}
PyDoc_STRVAR(bpy_bmlayercollection_values_doc,
-".. method:: items()\n"
+".. method:: values()\n"
"\n"
-" Return the identifiers of collection members\n"
-" (matching pythons dict.items() functionality).\n"
+" Return the values of collection\n"
+" (matching pythons dict.values() functionality).\n"
"\n"
-" :return: (key, value) pairs for each member of this collection.\n"
-" :rtype: list of tuples\n"
+" :return: the members of this collection.\n"
+" :rtype: list\n"
);
static PyObject *bpy_bmlayercollection_values(BPy_BMLayerCollection *self)
{
@@ -497,13 +497,13 @@ static PyObject *bpy_bmlayercollection_values(BPy_BMLayerCollection *self)
}
PyDoc_STRVAR(bpy_bmlayercollection_items_doc,
-".. method:: values()\n"
+".. method:: items()\n"
"\n"
-" Return the values of collection\n"
-" (matching pythons dict.values() functionality).\n"
+" Return the identifiers of collection members\n"
+" (matching pythons dict.items() functionality).\n"
"\n"
-" :return: the members of this collection.\n"
-" :rtype: list\n"
+" :return: (key, value) pairs for each member of this collection.\n"
+" :rtype: list of tuples\n"
);
static PyObject *bpy_bmlayercollection_items(BPy_BMLayerCollection *self)
{