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
270
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
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
51
TDD Java Exercise
dbader
5
4.9k
A Framework for Remote Usability Evaluation on Mobile Devices
dbader
2
1.7k
Sketch 3D
dbader
1
49
Other Decks in Education
See All in Education
地区危機管理委員会 出前セミナー「ロータリーにおける危機管理」:膳所 和彦 氏(国際ロータリー第2720地区 パストガバナー・日田ロータリークラブ・医療法人恒心会ぜぜ医院 理事長):2720 Japan O.K. ロータリーEクラブ2026年2月16日卓話
2720japanoke
1
600
東大1年生にJulia教えてみた
matsui_528
7
12k
AIでキミの未来はどう変わる?
behomazn
0
120
Gluon Recruit Deck
gluon
0
160
JAPAN AI CUP Prediction Tutorial
upura
2
910
Tips for the Presentation - Lecture 2 - Advanced Topics in Big Data (4023256FNR)
signer
PRO
0
500
自己紹介 / who-am-i
yasulab
6
6.5k
AIで日本はどう進化する? 〜キミが生きる2035年の地図〜
behomazn
0
130
演習:Gitの基本操作 / 04-git-basic
kaityo256
PRO
0
350
2025-12-19-LT
takesection
0
120
理工学系 第1回大学院説明会2026|東京科学大学(Science Tokyo)
sciencetokyo
PRO
0
220
滑空スポーツ講習会2025(実技講習)EMFT講習 実施要領/JSA EMFT 2025 procedure
jsaseminar
0
150
Featured
See All Featured
From π to Pie charts
rasagy
0
150
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
990
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.3k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
199
73k
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
79
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
3
130
Claude Code のすすめ
schroneko
67
220k
Context Engineering - Making Every Token Count
addyosmani
9
770
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.8k
Into the Great Unknown - MozCon
thekraken
40
2.3k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.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": ^^^^^^^^^ !