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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Daniel Bader
July 20, 2016
Education
270
0
Share
Forward References and Python 3 Type Hints
Watch the full presentation here:
https://www.youtube.com/watch?v=AJsrxBkV3kc
Daniel Bader
July 20, 2016
More Decks by Daniel Bader
See All by Daniel Bader
How to become a better developer (Mobify Engineering Meeting)
dbader
0
43k
Raspberry-Python-Pi for Hardware Hacking Fun!
dbader
2
220
ME'13 Presentation Slides
dbader
3
1.2k
Android Services
dbader
1
80
Ressourcenverwaltung in SWT
dbader
1
53
TDD Java Exercise
dbader
5
4.9k
A Framework for Remote Usability Evaluation on Mobile Devices
dbader
2
1.7k
Sketch 3D
dbader
1
51
Other Decks in Education
See All in Education
Human Perception and Colour Theory - Lecture 2 - Information Visualisation (4019538FNR)
signer
PRO
0
3.1k
タイムマシンのつくりかた
nomizone
3
1.2k
Data Processing and Visualisation Frameworks - Lecture 6 - Information Visualisation (4019538FNR)
signer
PRO
1
2.9k
Sponsorship 2026 | VizChitra
vizchitra
2
170
高校数学とJulia言語
shimizudan
0
140
反応する前に「受容する」力を鍛える。 自分の安全地帯🌱 を育てよう / Cultivating and sharing ventral vagal safety.
spring_aki
0
120
共感から、つくる: 変わり続ける自分と、誰かのための創造
micknerd
1
280
0121
cbtlibrary
0
150
[2026前期火5] 論理学(京都大学文学部 前期 第1回)「ハルシネーションを外部世界との対応を考えずに見分ける方法」
yatabe
0
250
バージョン管理とは / 01-a-vcs
kaityo256
PRO
1
260
演習:Gitの基本操作 / 04-git-basic
kaityo256
PRO
0
410
応募課題(’25広島)
forget1900
0
980
Featured
See All Featured
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.6k
Evolving SEO for Evolving Search Engines
ryanjones
0
170
30 Presentation Tips
portentint
PRO
1
270
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
120
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.1k
Site-Speed That Sticks
csswizardry
13
1.1k
Designing for humans not robots
tammielis
254
26k
YesSQL, Process and Tooling at Scale
rocio
174
15k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
300
Statistics for Hackers
jakevdp
799
230k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
1.8k
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": ^^^^^^^^^ !