Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
7ea15d09
Commit
7ea15d09
authored
Feb 23, 2007
by
Thomas Wouters
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Prevent regeneration.
parent
8b4a3e8f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
Include/Python-ast.h
Include/Python-ast.h
+1
-0
Python/Python-ast.c
Python/Python-ast.c
+2
-2
No files found.
Include/Python-ast.h
View file @
7ea15d09
...
...
@@ -516,3 +516,4 @@ keyword_ty _Py_keyword(identifier arg, expr_ty value, PyArena *arena);
alias_ty
_Py_alias
(
identifier
name
,
identifier
asname
,
PyArena
*
arena
);
PyObject
*
PyAST_mod2obj
(
mod_ty
t
);
Python/Python-ast.c
View file @
7ea15d09
...
...
@@ -2,7 +2,7 @@
/*
__version__ 538
66
.
__version__ 538
72
.
This module must be committed separately after each AST grammar change;
The __version__ number is set to the revision number of the commit
...
...
@@ -3125,7 +3125,7 @@ init_ast(void)
if
(
PyDict_SetItemString
(
d
,
"AST"
,
(
PyObject
*
)
AST_type
)
<
0
)
return
;
if
(
PyModule_AddIntConstant
(
m
,
"PyCF_ONLY_AST"
,
PyCF_ONLY_AST
)
<
0
)
return
;
if
(
PyModule_AddStringConstant
(
m
,
"__version__"
,
"538
66
"
)
<
0
)
if
(
PyModule_AddStringConstant
(
m
,
"__version__"
,
"538
72
"
)
<
0
)
return
;
if
(
PyDict_SetItemString
(
d
,
"mod"
,
(
PyObject
*
)
mod_type
)
<
0
)
return
;
if
(
PyDict_SetItemString
(
d
,
"Module"
,
(
PyObject
*
)
Module_type
)
<
0
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment