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
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
82
Ressourcenverwaltung in SWT
dbader
1
54
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-AI Interaction - Lecture 11 - Next Generation User Interfaces (4018166FNR)
signer
PRO
0
940
OSINT入門-CTF for GIRLS_SECCON14電脳会議
nomizone
1
1.4k
Measuring what matters
jonoalderson
0
270
LinkedIn
matleenalaakso
0
4.1k
P3NFEST 2026 Spring ハンズオン「ハッキング・ラブ!はじめてのハッキングをやってみよう」資料
nomizone
0
440
コミュニティを通じた_キャリア設計のススメ_20260424.pdf
masakiokuda
0
240
Visualisation Techniques - Lecture 8 - Information Visualisation (4019538FNR)
signer
PRO
1
3k
What workforce agencies must have in place to compete for and deliver on RESTART grants
territorium
PRO
0
140
自己紹介 / who-am-i
yasulab
6
6.6k
Investigating Changes in Self-Assessed Spoken English Proficiency in a Three-Week Study-Abroad Program
uranoken
0
150
Catecismo 26 #1 - Aula inaugural
cm_manaus
0
110
Blueprint for Strengthening Community Colleges Training Grant Success
territorium
PRO
0
420
Featured
See All Featured
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
250
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
1
2k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.2k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
62
53k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
270
The Cult of Friendly URLs
andyhume
79
6.9k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
150
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
240
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
55k
Writing Fast Ruby
sferik
630
63k
Fashionably flexible responsive web design (full day workshop)
malarkey
408
66k
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": ^^^^^^^^^ !