Add double backquotes for rst code samples (#1298)

Appends to (#1246)

Co-authored-by: kolibril13 <44469195+kolibril13@users.noreply.github.com>
This commit is contained in:
Ricky Chon 2021-04-09 16:08:15 -04:00 committed by GitHub
commit 9a525a8166
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -66,12 +66,12 @@ class ValueTracker(Mobject):
self.set_value(self.get_value() + d_value)
def __iadd__(self, d_value):
"""adds `+=` syntax to increment the value of the ValueTracker"""
"""adds ``+=`` syntax to increment the value of the ValueTracker"""
self.increment_value(d_value)
return self
def __isub__(self, d_value):
"""adds `-=` syntax to decrement the value of the ValueTracker"""
"""adds ``-=`` syntax to decrement the value of the ValueTracker"""
self.increment_value(-d_value)
return self