mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-13 17:42:42 +08:00
DOC: Fix example for require_not_initialized.
This commit is contained in:
@@ -64,7 +64,7 @@ def require_not_initialized(exception):
|
||||
|
||||
Usage
|
||||
-----
|
||||
@require_not_initialized(SomeException, "Don't do that!")
|
||||
@require_not_initialized(SomeException("Don't do that!"))
|
||||
def method(self):
|
||||
# Do stuff that should only be allowed during initialize.
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user