Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Forward References and Python 3 Type Hints
Search
Daniel Bader
July 20, 2016
Education
280
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
230
ME'13 Presentation Slides
dbader
3
1.3k
Android Services
dbader
1
86
Ressourcenverwaltung in SWT
dbader
1
61
TDD Java Exercise
dbader
5
4.9k
A Framework for Remote Usability Evaluation on Mobile Devices
dbader
1
1.8k
Sketch 3D
dbader
1
55
Other Decks in Education
See All in Education
日本における応用言語学・言語教育学これまでとこれから
terasawat
0
110
実践プレゼンテーション・デザイン
dragon2
1
380
25-26 CBT Library top items
cbtlibrary
0
330
[2026前期火5] 論理学(京都大学文学部 前期 第14回)「計算は、証明ではない——ハルシネーションを三層ハーモニーで診る」
yatabe
0
310
Introduction to M&A
bvr7352
0
230
吉岡研究室紹介(2026年度)
kentaroy47
0
240
Sekolah Sabat - Triwulan 4 2026 - Pelajaran 1
hiola
0
12k
Quality Control of Crude Drugs
pawan_pharm
0
190
INTRODUCTION TO THE CELL
pawan_pharm
0
320
マークシート試験のTeX言語を用いた自動採点について
doratex
0
5.3k
AIってなぁに?
kenichiota0711
0
860
中小規模私大の教学IRを支えるデータマネジメント ― データ基盤構築の取り組みと実務の現在地 ―
terazawa
0
210
Featured
See All Featured
YesSQL, Process and Tooling at Scale
rocio
174
15k
The Cult of Friendly URLs
andyhume
79
7k
Site-Speed That Sticks
csswizardry
13
1.5k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
970
Heart Work Chapter 1 - Part 1
lfama
PRO
10
36k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
2k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
380
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
420
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.5k
The Curse of the Amulet
leimatthew05
3
15k
Music & Morning Musume
bryan
48
7.4k
Are puppies a ranking factor?
jonoalderson
2
4k
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": ^^^^^^^^^ !