1
0
forked from VimPlug/jedi

Upgrade typeshed, fixes #1084

This commit is contained in:
Dave Halter
2019-12-14 11:35:34 +01:00
parent 5bc6ce231b
commit 7639bc2da9
3 changed files with 21 additions and 1 deletions

View File

@@ -12,3 +12,19 @@ https://github.com/davidhalter/typeshed.git for two reasons:
- Jedi doesn't understand Tuple.__init__ properly.
- Typeshed has a bug: https://github.com/python/typeshed/issues/2999
Therefore we need a bit of a complicated process to upgrade typeshed:
cd jedi/third_party/typeshed
git remote add upstream https://github.com/python/typeshed
git fetch upstream
git checkout jedi
git rebase upstream/master
git push -f
git push
cd ../../..
git commit jedi/third_party/typeshed -m "Upgrade typeshed"
If merge conflicts appear, just make sure that only one commit from Jedi
appears.

View File

@@ -190,6 +190,10 @@ def huhu(db):
#? sqlite3.Connection()
db
with sqlite3.connect() as c:
#? sqlite3.Connection()
c
# -----------------
# hashlib
# -----------------