SilentGhost added the comment: It doesn't seem docstring-specific, docstring is a regular Python object and ast.literal_eval would fail if you have more than one literals of any kind. Put two integers in your file and the literal_eval will fail.
---------- nosy: +SilentGhost, benjamin.peterson, georg.brandl _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25621> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com