[New-bugs-announce] [issue27740] Fix doc of Py_CompileStringExFlags
Xiang Zhang
report at bugs.python.org
Thu Aug 11 14:13:23 EDT 2016
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 at python
components: Documentation
files: Py_CompileStringExFlags_doc.patch
keywords: patch
messages: 272468
nosy: docs at 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 <report at bugs.python.org>
<http://bugs.python.org/issue27740>
_______________________________________
More information about the New-bugs-announce
mailing list