From 105796513827cfbd5db183e5600838f48b89ce02 2013-08-08 17:21:54
From: Jonathan Frederic <jdfreder@calpoly.edu>
Date: 2013-08-08 17:21:54
Subject: [PATCH] remove sq brackets

---

diff --git a/IPython/nbconvert/filters/latex.py b/IPython/nbconvert/filters/latex.py
index e766524..797a8df 100755
--- a/IPython/nbconvert/filters/latex.py
+++ b/IPython/nbconvert/filters/latex.py
@@ -57,7 +57,7 @@ def escape_latex(text):
     text : str
         Text containing characters that may conflict with Latex
     """
-    text = ''.join([LATEX_SUBS.get(c, c) for c in text])
+    text = ''.join(LATEX_SUBS.get(c, c) for c in text)
     for pattern, replacement in LATEX_RE_SUBS:
         text = pattern.sub(replacement, text)