summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2012-01-16 22:29:05 (GMT)
committerBenjamin Peterson <benjamin@python.org>2012-01-16 22:29:05 (GMT)
commitc0beabc2a57f6599a411d3b5579dd6c64ffd47b7 (patch)
tree2f71f7d837736869832e0e32713ba4f02ca83a0d /Python
parent55e0043a5129fc7dfa2333a146475d62b347f5f0 (diff)
downloadcpython-c0beabc2a57f6599a411d3b5579dd6c64ffd47b7.zip
cpython-c0beabc2a57f6599a411d3b5579dd6c64ffd47b7.tar.gz
cpython-c0beabc2a57f6599a411d3b5579dd6c64ffd47b7.tar.bz2
move LINENO define to where it actually belongs
Diffstat (limited to 'Python')
-rw-r--r--Python/ast.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/Python/ast.c b/Python/ast.c
index 26163f7..66b85b5 100644
--- a/Python/ast.c
+++ b/Python/ast.c
@@ -521,10 +521,6 @@ static PyObject *parsestr(struct compiling *, const node *n, int *bytesmode);
static PyObject *parsestrplus(struct compiling *, const node *n,
int *bytesmode);
-#ifndef LINENO
-#define LINENO(n) ((n)->n_lineno)
-#endif
-
#define COMP_GENEXP 0
#define COMP_LISTCOMP 1
#define COMP_SETCOMP 2