Show More
@@ -32,7 +32,7 b' def cast_bytes(s, encoding=None):' | |||||
32 | def _modify_str_or_docstring(str_change_func): |
|
32 | def _modify_str_or_docstring(str_change_func): | |
33 | @functools.wraps(str_change_func) |
|
33 | @functools.wraps(str_change_func) | |
34 | def wrapper(func_or_str): |
|
34 | def wrapper(func_or_str): | |
35 | if isinstance(func_or_str, str): |
|
35 | if isinstance(func_or_str, basestring): | |
36 | func = None |
|
36 | func = None | |
37 | doc = func_or_str |
|
37 | doc = func_or_str | |
38 | else: |
|
38 | else: |
General Comments 0
You need to be logged in to leave comments.
Login now