[Bf-blender-cvs] [4e0a7e9] tmp-id-users: Correct docstring.

Bastien Montagne noreply at git.blender.org
Wed Jan 6 18:01:29 CET 2016


Commit: 4e0a7e903cfb8678c770de6c02f74e5694cc9975
Author: Bastien Montagne
Date:   Wed Jan 6 18:01:06 2016 +0100
Branches: tmp-id-users
https://developer.blender.org/rB4e0a7e903cfb8678c770de6c02f74e5694cc9975

Correct docstring.

===================================================================

M	source/blender/python/intern/bpy_rna_id_collection.c

===================================================================

diff --git a/source/blender/python/intern/bpy_rna_id_collection.c b/source/blender/python/intern/bpy_rna_id_collection.c
index 01a4402..ad5eb0b 100644
--- a/source/blender/python/intern/bpy_rna_id_collection.c
+++ b/source/blender/python/intern/bpy_rna_id_collection.c
@@ -105,9 +105,9 @@ static bool foreach_libblock_id_user_map_callback(void *user_data, ID **id_p, in
 PyDoc_STRVAR(bpy_user_map_doc,
 ".. method:: user_map([subset=(id1, id2, ...)])\n"
 "\n"
-"   Returns a mapping all ID datablocks in current ``bpy.data`` to a set of all datablocks using them.\n"
+"   Returns a mapping of all ID datablocks in current ``bpy.data`` to a set of all datablocks using them.\n"
 "\n"
-"   :arg subset: When passed, only data-blocks referencing these will be included as keys in the map.\n"
+"   :arg subset: When passed, only these data-blocks and their users will be included as keys/values in the map.\n"
 "   :type subset: sequence\n"
 "   :return: dictionary of :class:`bpy.types.ID` instances, with sets of ID's as their values.\n"
 "   :rtype: dict\n"




More information about the Bf-blender-cvs mailing list