Skip to content

Commit 82d7891

Browse files
committed
[py]: use f strings in place of %s
1 parent 845e47d commit 82d7891

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

py/selenium/webdriver/support/color.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ def __repr__(self) -> str:
177177
self.red, self.green, self.blue, self.alpha)
178178

179179
def __str__(self) -> str:
180-
return "Color: %s" % self.rgba
180+
return f"Color: {self.rgba}"
181181

182182

183183
# Basic, extended and transparent colour keywords as defined by the W3C HTML4 spec

0 commit comments

Comments
 (0)