Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ PC/readme.txt text eol=crlf

# Generated files
# https://github.com/github/linguist#generated-code
Include/graminit.h linguist-generated=true
Python/graminit.h linguist-generated=true
Modules/clinic/*.h linguist-generated=true
Objects/clinic/*.h linguist-generated=true
PC/clinic/*.h linguist-generated=true
Expand Down
11 changes: 0 additions & 11 deletions Include/ast.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,8 @@ extern "C" {
#endif

#include "Python-ast.h" /* mod_ty */
#include "node.h" /* node */

PyAPI_FUNC(int) PyAST_Validate(mod_ty);
PyAPI_FUNC(mod_ty) PyAST_FromNode(
const node *n,
PyCompilerFlags *flags,
const char *filename, /* decoded from the filesystem encoding */
PyArena *arena);
PyAPI_FUNC(mod_ty) PyAST_FromNodeObject(
const node *n,
PyCompilerFlags *flags,
PyObject *filename,
PyArena *arena);

/* _PyAST_ExprAsUnicode is defined in ast_unparse.c */
PyAPI_FUNC(PyObject *) _PyAST_ExprAsUnicode(expr_ty);
Expand Down
23 changes: 0 additions & 23 deletions Include/bitset.h

This file was deleted.

4 changes: 0 additions & 4 deletions Include/compile.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ extern "C" {
#endif

/* Public interface */
struct _node; /* Declare the existence of this type */
PyAPI_FUNC(PyCodeObject *) PyNode_Compile(struct _node *, const char *);
/* XXX (ncoghlan): Unprefixed type name in a public API! */

#define PyCF_MASK (CO_FUTURE_DIVISION | CO_FUTURE_ABSOLUTE_IMPORT | \
CO_FUTURE_WITH_STATEMENT | CO_FUTURE_PRINT_FUNCTION | \
CO_FUTURE_UNICODE_LITERALS | CO_FUTURE_BARRY_AS_BDFL | \
Expand Down
94 changes: 0 additions & 94 deletions Include/graminit.h

This file was deleted.

77 changes: 0 additions & 77 deletions Include/grammar.h

This file was deleted.

47 changes: 0 additions & 47 deletions Include/node.h

This file was deleted.

110 changes: 0 additions & 110 deletions Include/parsetok.h

This file was deleted.

Loading