Commit 57dfd176 authored by Nick Brown's avatar Nick Brown Committed by Nejc Habjan
Browse files

docs(objects): minor rst formatting typo

To correctly format a code block have to use `::`
parent 4ef94c82
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -27,7 +27,7 @@ Get a single protected branch::

    p_branch = project.protectedbranches.get('main')

Update a protected branch:
Update a protected branch::

    p_branch.allow_force_push = True
    p_branch.save()