New submission from Xiang Zhang: I think the doc of Py_CompileStringExFlags has two flaws:
1. Py_CompileStringExFlags should be replaced by Py_CompileStringObject from the context. Py_CompileStringExFlags in the context is meaningless. 2. *filename* is a byte string that should be decoded but not decoded from. It is ... = decode(filename) but not filename = decode(...). ---------- assignee: docs@python components: Documentation files: Py_CompileStringExFlags_doc.patch keywords: patch messages: 272468 nosy: docs@python, xiang.zhang priority: normal severity: normal status: open title: Fix doc of Py_CompileStringExFlags type: behavior versions: Python 3.6 Added file: http://bugs.python.org/file44078/Py_CompileStringExFlags_doc.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27740> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com