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
200
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
41k
Raspberry-Python-Pi for Hardware Hacking Fun!
dbader
2
200
ME'13 Presentation Slides
dbader
3
880
Android Services
dbader
1
65
Ressourcenverwaltung in SWT
dbader
1
34
TDD Java Exercise
dbader
5
4.8k
A Framework for Remote Usability Evaluation on Mobile Devices
dbader
2
1.4k
Sketch 3D
dbader
1
40
Other Decks in Education
See All in Education
AI教育の未来『おもしろい』を作れる人材の育て方 #東京AI祭
o_ob
1
340
Data Management and Analytics Specialisation
signer
PRO
0
980
Analysis and Validation - Lecture 4 - Information Visualisation (4019538FNR)
signer
PRO
0
1.4k
@ngrx/signals
yannickbaron
0
110
SUMMER SCHOOL 2024
pnuslide
0
140
Dolce and Gabbana Light Blue Perfume
vicjon
0
390
Microsoft Office 365
matleenalaakso
0
1.5k
全員参加型で会社を強くしていく活動を考えてみる
ikefukurou777
0
190
保育とふりかえりをコネクト! / connect childcare and retrospectives!
psj59129
1
140
Avoin jakaminen ja Creative Commons -lisenssit
matleenalaakso
0
1.1k
Railsチュートリアルの歩き方 (第7版)
yasslab
PRO
1
1M
心房細動週間ポスター(2024年3月6日)
japanstrokeassociation
0
250
Featured
See All Featured
Agile that works and the tools we love
rasmusluckow
323
20k
Scaling GitHub
holman
457
140k
Building an army of robots
kneath
300
41k
Bootstrapping a Software Product
garrettdimon
PRO
301
110k
Designing with Data
zakiwarfel
95
4.8k
Build your cross-platform service in a week with App Engine
jlugia
224
17k
The Art of Programming - Codeland 2020
erikaheidi
41
12k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
6
990
Facilitating Awesome Meetings
lara
40
5.6k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
18
6.9k
Designing for Performance
lara
601
67k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
29
6k
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": ^^^^^^^^^ !