8000 Merge pull request #914 from terminalmage/issue913 · lundbird/python-gitlab@d2c9cee · GitHub
[go: up one dir, main page]

Skip to content

Commit d2c9cee

Browse files
Merge pull request python-gitlab#914 from terminalmage/issue913
Remove inaccurate projects.get() example
2 parents d853a76 + 5bd8947 commit d2c9cee

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/gl_objects/projects.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,8 @@ Results can also be sorted using the following parameters:
6363
Get a single project::
6464

6565
# Get a project by ID
66+
project_id = 851
6667
project = gl.projects.get(project_id)
67-
# Get a project by userspace/name
68-
project = gl.projects.get('myteam/myproject')
6968

7069
Create a project::
7170

0 commit comments

Comments
 (0)
0