测试gitnore

This commit is contained in:
ladeng07
2022-05-06 15:45:57 +08:00
parent 12f390949b
commit 51552904f9
2347 changed files with 120102 additions and 53549 deletions
@@ -23,7 +23,6 @@ class SafeString(str, SafeData):
A str subclass that has been specifically marked as "safe" for HTML output
purposes.
"""
def __add__(self, rhs):
"""
Concatenating a safe string with another safe bytestring or
@@ -45,7 +44,6 @@ def _safety_decorator(safety_marker, func):
@wraps(func)
def wrapped(*args, **kwargs):
return safety_marker(func(*args, **kwargs))
return wrapped
@@ -58,7 +56,7 @@ def mark_safe(s):
Can be called multiple times on a single string.
"""
if hasattr(s, "__html__"):
if hasattr(s, '__html__'):
return s
if callable(s):
return _safety_decorator(mark_safe, s)