Skip to content

Commit 236f3f8

Browse files
committed
Merge branch 'master' of github.com:mdipierro/web2py-book
2 parents 8749e2c + 0d2f37e commit 236f3f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sources/29-web2py-english/04.markmin

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -832,7 +832,7 @@ nor should one use current to assign class attributes:
832832
class MyClass:
833833
request = current.request # WRONG! DANGER!
834834
``:code
835-
This is because the thread local object must be extracted at runtime. Global variables instead are defined only once when the model is imported for the first time.
835+
This is because the thread local object must be extracted at runtime. Global variables instead are defined only once when the module is imported for the first time.
836836

837837
Instead, assign inside a function.
838838

0 commit comments

Comments
 (0)