summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/gl_objects/snippets.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/gl_objects/snippets.rst b/docs/gl_objects/snippets.rst
index 5e09768..fb22594 100644
--- a/docs/gl_objects/snippets.rst
+++ b/docs/gl_objects/snippets.rst
@@ -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)