Commits

Anonymous committed 8795d53

warnings only for tuples

Comments (0)

Files changed (3)

docs/heading.en.yinc2

 div id="headline" {
     p > pyPEG – a PEG Parser-Interpreter in Python
     div class="small" {
-        "pyPEG 2.5.6 of Tu Jun 12 2012 – Copyleft 2009-2012, "
+        "pyPEG 2.5.7 of Tu Jun 19 2012 – Copyleft 2009-2012, "
         a "http://fdik.org", "Volker Birk";
     }
     div id=python1 p

pypeg2/__init__.py

         Class       reference to Attribute class generated by namedtuple()
     """
     if __debug__:
-        if isinstance(thing, (tuple, Concat)):
+        if isinstance(thing, tuple):
             warnings.warn(type(thing).__name__ + " not recommended as grammar of attribute "
                     + repr(name), SyntaxWarning)
     return attr.Class(name, thing, subtype)
 
 setup(
     name='pyPEG2',
-    version='2.5.6',
+    version='2.5.7',
     author='Volker Birk',
     author_email='vb@dingens.org',
     packages=['pypeg2', 'pypeg2.test'],