mirror of
https://github.com/ManimCommunity/manim.git
synced 2026-06-22 10:01:47 +00:00
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:
parent
49b50cfe78
commit
9a525a8166
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue