Commits

Volker Birk  committed 384967a

small bugfix: parsing into a list

  • Participants
  • Parent commits 63b6493
  • Tags 2.3.2

Comments (0)

Files changed (3)

File docs/heading.en.yinc2

 div id="headline" {
     p > pyPEG – a PEG Parser-Interpreter in Python
     div class="small" {
-        "pyPEG 2.3.1 of Th May 31 2012 – Copyleft 2009-2012, "
+        "pyPEG 2.3.2 of Th May 31 2012 – Copyleft 2009-2012, "
         a "http://fdik.org", "Volker Birk";
     }
     div id=python1 p {

File pypeg2/__init__.py

                 if isinstance(r, thing):
                     result = t, r
                 else:
-                    if isinstance(r, list):
+                    if type(r) == list:
                         L, a = [], []
                         for e in r:
                             if type(e) == attr.Class:
 
 setup(
     name='pyPEG2',
-    version='2.3.0',
+    version='2.3.2',
     author='Volker Birk',
     author_email='vb@dingens.org',
     packages=['pypeg2', 'pypeg2.test'],