summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Wittig <max.wittig@siemens.com>2019-06-19 11:17:22 +0200
committerGitHub <noreply@github.com>2019-06-19 11:17:22 +0200
commitb5aaa3eda97589ab94f921c4bcbb6e86740dde51 (patch)
tree488df00e40e80400471ec10c660efde0ebcc9fa4
parent4e1dd27d6400acd152be19692f3193f948422769 (diff)
parent40a1bf36c2df89daa1634e81c0635c1a63831090 (diff)
downloadgitlab-b5aaa3eda97589ab94f921c4bcbb6e86740dde51.tar.gz
Merge pull request #799 from python-gitlab/docs/fix-group-access
docs(api-usage): fix project group example
-rw-r--r--docs/api-usage.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/api-usage.rst b/docs/api-usage.rst
index 36981b3..2f75584 100644
--- a/docs/api-usage.rst
+++ b/docs/api-usage.rst
@@ -77,8 +77,8 @@ Examples:
# get the group with id == 2
group = gl.groups.get(2)
- for group in groups:
- print()
+ for project in group.projects.list():
+ print(project)
# create a new user
user_data = {'email': 'jen@foo.com', 'username': 'jen', 'name': 'Jen'}