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.3k
Android Services
dbader
1
83
Ressourcenverwaltung in SWT
dbader
1
59
TDD Java Exercise
dbader
5
4.9k
A Framework for Remote Usability Evaluation on Mobile Devices
dbader
1
1.8k
Sketch 3D
dbader
1
53
Other Decks in Education
See All in Education
View Manipulation and Reduction - Lecture 9 - Information Visualisation (4019538FNR)
signer
PRO
1
2.8k
Gitがない時代 インターネットがない時代の 開発話
sapi_kawahara
0
330
2026年度春学期 統計学 第7回 データの関係を知る(2)ー 回帰と決定係数 (2026. 5. 21)
akiraasano
PRO
0
240
AWS Skill Builderを活用した一石二鳥の業務計画
ysaeki
0
100
2026年度春学期 統計学 第14回 分布についての仮説を検証する ― 仮説検定(1) (2026. 7. 2)
akiraasano
PRO
0
120
Visionary Initiative: Materials-Positive Society 「モノの進化をポジティブな社会の原動力に」|Science Tokyo(東京科学大学)
sciencetokyo
PRO
0
820
NDIAS Automotive / IoT CTF 2026 Recap - Keyfob & OSINT
himitu23
0
260
Case Studies and Future Research - Lecture 12 - Next Generation User Interfaces (4018166FNR)
signer
PRO
0
210
Interaction - Lecture 10 - Information Visualisation (4019538FNR)
signer
PRO
0
2.7k
[2026前期火5] 論理学(京都大学文学部 前期 第8回)「正規化定理の証明」
yatabe
0
250
遊ぶかね欲しさの犯行(ルビ:労働)です
shirayanagiryuji
0
200
[2026前期火5] 論理学(京都大学文学部 前期 第11回)「ハーモニー:三層モデルと保存拡大」
yatabe
0
190
Featured
See All Featured
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
280
Leo the Paperboy
mayatellez
8
1.9k
Un-Boring Meetings
codingconduct
0
350
Color Theory Basics | Prateek | Gurzu
gurzu
0
400
Making Projects Easy
brettharned
120
6.7k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
400
Designing for humans not robots
tammielis
254
26k
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
270
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.7k
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
470
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
190
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": ^^^^^^^^^ !