Skip to content

Instantly share code, notes, and snippets.

@ian8i
ian8i / gist:bc9c80af9c44d6ecd885b48f1db15301
Last active April 21, 2017 23:47
PyCharm, Python 3.6.1, no type hint warnings?
from typing import Dict
a: Dict[int, int] = dict()
a[1] = 1 # This is fine
a['hello'] = 'world' # This is not, but pycharm offers no warnings

Keybase proof

I hereby claim:

  • I am ian8i on github.
  • I am ian8i (https://keybase.io/ian8i) on keybase.
  • I have a public key whose fingerprint is FCC6 5B91 1FC5 B95E A76A 4605 4B0B 769C B15D A240

To claim this, I am signing this object:

### Keybase proof
I hereby claim:
* I am ian8i on github.
* I am ian8i (https://keybase.io/ian8i) on keybase.
* I have a public key whose fingerprint is FCC6 5B91 1FC5 B95E A76A 4605 4B0B 769C B15D A240
To claim this, I am signing this object: