summaryrefslogtreecommitdiff
path: root/git/util.py
diff options
context:
space:
mode:
authorYobmod <yobmod@gmail.com>2021-06-24 16:30:32 +0100
committerYobmod <yobmod@gmail.com>2021-06-24 16:30:32 +0100
commit4f5d2fd68e784c2b2fd914a196c66960c7f48b49 (patch)
tree3efe308e560efce938458e50c8e099592067bbd1 /git/util.py
parent26dfeb66be61e9a2a9087bdecc98d255c0306079 (diff)
downloadgitpython-4f5d2fd68e784c2b2fd914a196c66960c7f48b49.tar.gz
update docstring
Diffstat (limited to 'git/util.py')
-rw-r--r--git/util.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/git/util.py b/git/util.py
index 78a60c9a..79952be5 100644
--- a/git/util.py
+++ b/git/util.py
@@ -1036,11 +1036,13 @@ class Iterable(object):
@classmethod
def list_items(cls, repo, *args, **kwargs):
"""
+ Deprecaated, use IterableObj instead.
Find all items of this type - subclasses can specify args and kwargs differently.
If no args are given, subclasses are obliged to return all items if no additional
arguments arg given.
:note: Favor the iter_items method as it will
+
:return:list(Item,...) list of item instances"""
out_list = IterableList(cls._id_attribute_)
out_list.extend(cls.iter_items(repo, *args, **kwargs))