From 8fef8383ec079e264eaf6876ef83bae212393d28 Mon Sep 17 00:00:00 2001
From: Matthias Diener <matthias.diener@gmail.com>
Date: Fri, 28 Aug 2020 10:57:25 -0500
Subject: [PATCH] Update __init__.py

---
 pytools/__init__.py | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/pytools/__init__.py b/pytools/__init__.py
index 1afa12b..7b4349e 100644
--- a/pytools/__init__.py
+++ b/pytools/__init__.py
@@ -1499,9 +1499,12 @@ class Table:
     .. automethod:: github_markdown
     """
 
-    def __init__(self, alignments=['l', 'r']):
+    def __init__(self, alignments=None):
         self.rows = []
-        self.alignments = alignments
+        if alignments is not None:
+            self.alignments = alignments
+        else:
+            self.alignments = ['l']
 
     def add_row(self, row):
         self.rows.append([str(i) for i in row])
-- 
GitLab