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
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
83
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
52
Other Decks in Education
See All in Education
「機械学習と因果推論」入門 ③ 漸近効率な推定量と二重機械学習
masakat0
0
670
Public Space Is Not For Sale
drikkes
0
100
Virtual and Augmented Reality - Lecture 8 - Next Generation User Interfaces (4018166FNR)
signer
PRO
0
2.3k
We部コミュニティスライド2026-04-24
junhat6
0
180
Curso de Consagração ao Sagrado Coração de Jesus - O Sagrado Coração na História (Aula 01)
cm_manaus
0
210
SARA Annual Report 2025-26
sara2023
1
360
Soluciones al examen de Geografía 2026. JUNIO (Convocatoria Ordinaria)
juanmartin2026
0
2.5k
Alumnote inc. Company Deck
yukinumata
1
19k
良い塩梅を実現する、AWSネットワーク3分クッキング
masakiokuda
1
260
Dashboards - Lecture 11 - Information Visualisation (4019538FNR)
signer
PRO
1
2.7k
コミュニティを通じた_キャリア設計のススメ_20260424.pdf
masakiokuda
0
320
【セーフィー】テクニカルライティング&コミュニケーション実践講座(26新卒エンジニア向け研修資料)
ymzaki_m4
0
210
Featured
See All Featured
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
180
WENDY [Excerpt]
tessaabrams
11
38k
Amusing Abliteration
ianozsvald
1
200
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
230
Joys of Absence: A Defence of Solitary Play
codingconduct
1
390
Designing Powerful Visuals for Engaging Learning
tmiket
1
410
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.5k
Test your architecture with Archunit
thirion
1
2.3k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
250
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.4k
Discover your Explorer Soul
emna__ayadi
2
1.1k
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": ^^^^^^^^^ !