Skip to content

Commit b5aaa3e

Browse files
authored
Merge pull request #799 from python-gitlab/docs/fix-group-access
docs(api-usage): fix project group example
2 parents 4e1dd27 + 40a1bf3 commit b5aaa3e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/api-usage.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ Examples:
7777
7878
# get the group with id == 2
7979
group = gl.groups.get(2)
80-
for group in groups:
81-
print()
80+
for project in group.projects.list():
81+
print(project)
8282
8383
# create a new user
8484
user_data = {'email': 'jen@foo.com', 'username': 'jen', 'name': 'Jen'}

0 commit comments

Comments
 (0)