mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-10 06:10:33 +08:00
pyupgrade --py37-plus **/*.py (#1654)
* pyupgrade --py37-plus **/*.py * fixup! Format Python code with psf/black push
This commit is contained in:

committed by
John Law

parent
34c808b375
commit
28419cf839
@ -467,7 +467,7 @@ class RedBlackTree:
|
||||
from pprint import pformat
|
||||
|
||||
if self.left is None and self.right is None:
|
||||
return "'%s %s'" % (self.label, (self.color and "red") or "blk")
|
||||
return "'{} {}'".format(self.label, (self.color and "red") or "blk")
|
||||
return pformat(
|
||||
{
|
||||
"%s %s"
|
||||
|
Reference in New Issue
Block a user