From b80fb895a1dc5ebf4862275d554c4a6cb0134276 Mon Sep 17 00:00:00 2001 From: Paul Everitt Date: Wed, 16 Nov 2016 15:58:35 -0500 Subject: [PATCH] Clean up an inspection complaint about mutable arguments, fix a PEP8 violation. --- arcade/draw_commands.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arcade/draw_commands.py b/arcade/draw_commands.py index 6f3bc3450..7a18a9f67 100644 --- a/arcade/draw_commands.py +++ b/arcade/draw_commands.py @@ -1702,7 +1702,7 @@ def draw_text(text: str, font_size: float=12, width: int=2000, align="left", - font_name=['Calibri','Arial'], + font_name=('Calibri', 'Arial'), bold: bool=False, italic: bool=False, anchor_x="left", @@ -1752,5 +1752,4 @@ def draw_text(text: str, label.draw() - # --- END TEXT FUNCTIONS # # #