]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Make sure the line comes from the same node as the col offset. (GH-9189)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 11 Sep 2018 23:32:52 +0000 (16:32 -0700)
committerGitHub <noreply@github.com>
Tue, 11 Sep 2018 23:32:52 +0000 (16:32 -0700)
commit4007e4e207bb6cf934864a9012a14022474e36df
treefc9995b8d36bd4e7ab063b6844bcd1b11a51af47
parentd8bc7a666b1309aa5669980e35e7429071f3f7d3
Make sure the line comes from the same node as the col offset. (GH-9189)

Followup to 90fc8980bbcc5c7dcced3627fe172b0bfd193a3b.

<!--
Thanks for your contribution!
Please read this comment in its entirety. It's quite important.

GH- Pull Request title

It should be in the following format:

```
bpo-NNNN: Summary of the changes made
```

Where: bpo-NNNN refers to the issue number in the https://bugs.python.org.

Most PRs will require an issue number. Trivial changes, like fixing a typo, do not need an issue.

GH- Backport Pull Request title

If this is a backport PR (PR made against branches other than `master`),
please ensure that the PR title is in the following format:

```
[X.Y] <title from the original PR> (GH-NNNN)
```

Where: [X.Y] is the branch name, e.g. [3.6].

GH-NNNN refers to the PR number from `master`.

-->
(cherry picked from commit d13e59c1b512069d90efe7ee9b613d3913e79c56)

Co-authored-by: Benjamin Peterson <benjamin@python.org>
Python/ast.c