FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Allow generic class variables by ilevkivskyi · Pull Request #7906 · python/mypy · GitHub

Repository navigation

Allow generic class variables - #7906

Merged
ilevkivskyi merged 1 commit into
python:masterfrom
ilevkivskyi:tweak-generic-classvar
Nov 8, 2019
Merged

ilevkivskyi merged 1 commit into
python:masterfrom
ilevkivskyi:tweak-generic-classvar

Conversation

Copy link
Copy Markdown
Member

The existing check is overly strict, because we already have a check at the use site. Also this makes instance variables, class variables and class methods more consistent/homogeneous.

(I will merge as soon as tests pass, since this PR is small and it blocks #7885)

ilevkivskyi merged commit 834efe4 into python:master Nov 8, 2019
ilevkivskyi deleted the tweak-generic-classvar branch November 8, 2019 16:11
svalentin added a commit that referenced this pull request Nov 14, 2022
improve ast types; revert several "redundant numeric union" changes from #7906
see python/typeshed#9130
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL