From 7ac101e2e7ecdbcb6075382c9e063ef3c26e581b Mon Sep 17 00:00:00 2001 From: Cameron Goodale Date: Mon, 26 May 2014 20:47:58 -0700 Subject: [PATCH 1/2] Add link to Python Magic Methods Guide * Resolves #103 --- docs/intro/learning.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/intro/learning.rst b/docs/intro/learning.rst index 959859f..828efd2 100644 --- a/docs/intro/learning.rst +++ b/docs/intro/learning.rst @@ -154,6 +154,15 @@ development, version control, and optimization/profiling. `Expert Python Programming `_ +A Guide to Python's Magic Methods +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +This is a collection of blog posts by Rafe Kettler which explain 'magic methods' +in Python. Magic methods are surrounded by double underscores (i.e. __init__) and +can make classes and objects behave in different and magical ways. + + `A Guide to Python's Magic Methods `_ + + For Engineers and Scientists ---------------------------- From 6c03f219d64fdc0dc290a3cb7886e52477ed9ffe Mon Sep 17 00:00:00 2001 From: Cameron Goodale Date: Tue, 27 May 2014 07:04:59 -0700 Subject: [PATCH 2/2] Add new line as requested. --- docs/intro/learning.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/intro/learning.rst b/docs/intro/learning.rst index 828efd2..31641f7 100644 --- a/docs/intro/learning.rst +++ b/docs/intro/learning.rst @@ -156,6 +156,7 @@ development, version control, and optimization/profiling. A Guide to Python's Magic Methods ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + This is a collection of blog posts by Rafe Kettler which explain 'magic methods' in Python. Magic methods are surrounded by double underscores (i.e. __init__) and can make classes and objects behave in different and magical ways.