Ammar Askar <am...@ammaraskar.com> added the comment:
Are you trying to concatenate a single string? If so keep in mind you need a trailing comma: >>> (1, 2) + (3, 4) + ('a',) (1, 2, 3, 4, 'a') >>> (1, 2) + (3, 4) + ('a') Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: can only concatenate tuple (not "str") to tuple ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue39641> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com