git://git.eng.unimelb.edu.au
/
python-guide.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1cfed04
)
Fix spelling in structure.rst
author
Ryan Campbell
<campbellr@gmail.com>
Wed, 4 Jul 2012 03:48:42 +0000
(21:48 -0600)
committer
Ryan Campbell
<campbellr@gmail.com>
Wed, 4 Jul 2012 03:48:42 +0000
(21:48 -0600)
docs/writing/structure.rst
patch
|
blob
|
history
diff --git
a/docs/writing/structure.rst
b/docs/writing/structure.rst
index
6765f18
..
3adf2dc
100644
(file)
--- a/
docs/writing/structure.rst
+++ b/
docs/writing/structure.rst
@@
-279,7
+279,7
@@
clearer and thus preferred.
Using this mechanism is useful for separating concerns and avoiding
external un-related logic 'polluting' the core logic of the function
or method. A good example of a piece of functionality that is better handled
Using this mechanism is useful for separating concerns and avoiding
external un-related logic 'polluting' the core logic of the function
or method. A good example of a piece of functionality that is better handled
-with decoration is memoization or caching: you want to store the results of an
+with decoration is memo
r
ization or caching: you want to store the results of an
expensive function in a table and use them directly instead of recomputing
them when they have already been computed. This is clearly not part
of the function logic.
expensive function in a table and use them directly instead of recomputing
them when they have already been computed. This is clearly not part
of the function logic.