Merge pull request #178 from epequeno/modulename
authorKenneth Reitz <me@kennethreitz.com>
Wed, 4 Jul 2012 06:33:13 +0000 (23:33 -0700)
committerKenneth Reitz <me@kennethreitz.com>
Wed, 4 Jul 2012 06:33:13 +0000 (23:33 -0700)
Add stub, naming restrictions to structure

1  2 
docs/writing/structure.rst

@@@ -276,10 -303,10 +303,10 @@@ clearer and thus preferred
          # Do something
      # bar() is decorated
  
Using this mechanism is useful for separating concerns and avoiding
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 memorization 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.