Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Forward References and Python 3 Type Hints
Search
Daniel Bader
July 20, 2016
Education
0
230
Forward References and Python 3 Type Hints
Watch the full presentation here:
https://www.youtube.com/watch?v=AJsrxBkV3kc
Daniel Bader
July 20, 2016
Tweet
Share
More Decks by Daniel Bader
See All by Daniel Bader
How to become a better developer (Mobify Engineering Meeting)
dbader
0
42k
Raspberry-Python-Pi for Hardware Hacking Fun!
dbader
2
210
ME'13 Presentation Slides
dbader
3
1k
Android Services
dbader
1
68
Ressourcenverwaltung in SWT
dbader
1
35
TDD Java Exercise
dbader
5
4.8k
A Framework for Remote Usability Evaluation on Mobile Devices
dbader
2
1.5k
Sketch 3D
dbader
1
42
Other Decks in Education
See All in Education
Образцы вооружения и техники ВС РФ
obzr
0
110
Use Cases and Course Review - Lecture 8 - Human-Computer Interaction (1023841ANR)
signer
PRO
0
790
20241002_Copilotって何?+Power_AutomateのCopilot
ponponmikankan
1
190
TP5_-_UV.pdf
bernhardsvt
0
120
Kaggle 班ができるまで
abap34
1
220
開発終了後こそ成長のチャンス!プロダクト運用を見送った先のアクションプラン
ohmori_yusuke
2
190
地図を活用した関西シビックテック事例紹介
barsaka2
0
100
Unraveling JavaScript Prototypes
debug_mode
0
120
ヘイトスピーチがある世界のコミュニケーション
ktanishima
0
390
HCI and Interaction Design - Lecture 2 - Human-Computer Interaction (1023841ANR)
signer
PRO
0
870
Mathematics used in cryptography around us
herumi
2
370
お仕事図鑑pitchトーク
tetsuyaooooo
0
2.3k
Featured
See All Featured
Faster Mobile Websites
deanohume
305
30k
Mobile First: as difficult as doing things right
swwweet
222
9k
KATA
mclloyd
29
14k
Navigating Team Friction
lara
183
15k
The Language of Interfaces
destraynor
154
24k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
232
17k
Practical Orchestrator
shlominoach
186
10k
Statistics for Hackers
jakevdp
796
220k
BBQ
matthewcrist
85
9.4k
The Art of Programming - Codeland 2020
erikaheidi
53
13k
We Have a Design System, Now What?
morganepeng
51
7.3k
Optimising Largest Contentful Paint
csswizardry
33
3k
Transcript
Forward references and Python 3 type hints
How would you type-hint this? class MyClass: def get_instance(self): return
self
class MyClass: def get_instance(self) -> MyClass: return self ⚡⚡⚡ NameError:
name 'MyClass' is not defined
???
PEP 484
def get_instance(self) -> "MyClass": ^^^^^^^^^ !