Skip to content

Commit

Permalink
Merge pull request #841 from python-gitlab/docs/project-snippets
Browse files Browse the repository at this point in the history
docs(snippets): fix project-snippets layout
  • Loading branch information
max-wittig committed Jul 21, 2019
2 parents de19296 + 7feb97e commit 29d102f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/gl_objects/snippets.rst
Expand Up @@ -47,7 +47,7 @@ Update the snippet attributes::
snippet.visibility_level = gitlab.Project.VISIBILITY_PUBLIC
snippet.save()

To update a snippet code you need to create a ``ProjectSnippet`` object:
To update a snippet code you need to create a ``ProjectSnippet`` object::

snippet = gl.snippets.get(snippet_id)
project = gl.projects.get(snippet.projec_id, lazy=True)
Expand Down

0 comments on commit 29d102f

Please sign in to comment.