diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2010-12-27 01:49:31 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2010-12-27 01:49:31 (GMT) |
commit | 00676d143626dbbb7e1ad456ed013afba4420978 (patch) | |
tree | b6b69033c0a0dce310dfc27d77aed2738864f4cc /Include/ast.h | |
parent | dc2081f72bfef321f60548da4353e7fe91e35e4d (diff) | |
download | cpython-00676d143626dbbb7e1ad456ed013afba4420978.zip cpython-00676d143626dbbb7e1ad456ed013afba4420978.tar.gz cpython-00676d143626dbbb7e1ad456ed013afba4420978.tar.bz2 |
Issue #9738: Document encodings of AST, compiler, parser and PyRun functions
Diffstat (limited to 'Include/ast.h')
-rw-r--r-- | Include/ast.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Include/ast.h b/Include/ast.h index cc14b7f..a015336 100644 --- a/Include/ast.h +++ b/Include/ast.h @@ -4,8 +4,11 @@ extern "C" { #endif -PyAPI_FUNC(mod_ty) PyAST_FromNode(const node *, PyCompilerFlags *flags, - const char *, PyArena *); +PyAPI_FUNC(mod_ty) PyAST_FromNode( + const node *n, + PyCompilerFlags *flags, + const char *filename, /* decoded from the filesystem encoding */ + PyArena *arena); #ifdef __cplusplus } |