Fix DeprecationWarning: invalid escape sequence (#679)
Signed-off-by: Mickaël Schoentgen <contact@tiger-222.fr>
This commit is contained in:
committed by
Libin Yang
parent
6128533319
commit
3dc50529ca
@@ -65,7 +65,7 @@ def my_max(a,b):
|
||||
|
||||
|
||||
def leftrotation(node):
|
||||
'''
|
||||
r'''
|
||||
A B
|
||||
/ \ / \
|
||||
B C Bl A
|
||||
@@ -101,7 +101,7 @@ def rightrotation(node):
|
||||
return ret
|
||||
|
||||
def rlrotation(node):
|
||||
'''
|
||||
r'''
|
||||
A A Br
|
||||
/ \ / \ / \
|
||||
B C RR Br C LR B A
|
||||
|
||||
Reference in New Issue
Block a user