Skip to content

Commit 7ac101e

Browse files
author
Cameron Goodale
committed
Add link to Python Magic Methods Guide
* Resolves realpython#103
1 parent e2b2a11 commit 7ac101e

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/intro/learning.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,15 @@ development, version control, and optimization/profiling.
154154
`Expert Python Programming <http://www.packtpub.com/expert-python-programming/book>`_
155155

156156

157+
A Guide to Python's Magic Methods
158+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
159+
This is a collection of blog posts by Rafe Kettler which explain 'magic methods'
160+
in Python. Magic methods are surrounded by double underscores (i.e. __init__) and
161+
can make classes and objects behave in different and magical ways.
162+
163+
`A Guide to Python's Magic Methods <http://www.rafekettler.com/magicmethods.html>`_
164+
165+
157166
For Engineers and Scientists
158167
----------------------------
159168

0 commit comments

Comments
 (0)