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
250
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
42k
Raspberry-Python-Pi for Hardware Hacking Fun!
dbader
2
210
ME'13 Presentation Slides
dbader
3
1.1k
Android Services
dbader
1
71
Ressourcenverwaltung in SWT
dbader
1
37
TDD Java Exercise
dbader
5
4.9k
A Framework for Remote Usability Evaluation on Mobile Devices
dbader
2
1.6k
Sketch 3D
dbader
1
43
Other Decks in Education
See All in Education
미국 교환학생 가서 무료 홈스테이 살면서 인턴 취업하기
maryang
0
100
諸外国の理科カリキュラムにおけるビッグアイデアの構造比較
arumakan
0
290
Tutorial: Foundations of Blind Source Separation and Its Advances in Spatial Self-Supervised Learning
yoshipon
1
110
新卒研修に仕掛ける 学びのサイクル / Implementing Learning Cycles in New Graduate Training
takashi_toyosaki
1
130
SkimaTalk Teacher Guidelines Summary
skimatalk
0
780k
i-GIP 2025 中高生のみなさんへ資料
202200
0
460
生成AI時代教育とICT支援員への期待
o_ob
0
290
計算情報学研究室 (数理情報学第7研究室)紹介スライド (2025)
tomonatu8
0
490
Implicit and Cross-Device Interaction - Lecture 10 - Next Generation User Interfaces (4018166FNR)
signer
PRO
2
1.7k
Data Presentation - Lecture 5 - Information Visualisation (4019538FNR)
signer
PRO
0
2.5k
Education-JAWS #3 ~教育現場に、AWSのチカラを~
masakiokuda
0
160
著作権と授業に関する出前講習会/dme-2025-05-01
gnutar
0
200
Featured
See All Featured
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Designing for humans not robots
tammielis
253
25k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
14
1.5k
Faster Mobile Websites
deanohume
307
31k
StorybookのUI Testing Handbookを読んだ
zakiyama
30
5.8k
Designing Experiences People Love
moore
142
24k
Measuring & Analyzing Core Web Vitals
bluesmoon
7
480
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
6
690
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
20
1.3k
The Art of Programming - Codeland 2020
erikaheidi
54
13k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
46
9.6k
Automating Front-end Workflow
addyosmani
1370
200k
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": ^^^^^^^^^ !