Show More
@@ -181,10 +181,6 b' def u_format(s):' | |||||
181 | Accepts a string or a function, so it can be used as a decorator.""" |
|
181 | Accepts a string or a function, so it can be used as a decorator.""" | |
182 | return s.format(u='') |
|
182 | return s.format(u='') | |
183 |
|
183 | |||
184 | def get_closure(f): |
|
|||
185 | """Get a function's closure attribute""" |
|
|||
186 | return f.__closure__ |
|
|||
187 |
|
||||
188 |
|
184 | |||
189 | PY2 = not PY3 |
|
185 | PY2 = not PY3 | |
190 | PYPY = platform.python_implementation() == "PyPy" |
|
186 | PYPY = platform.python_implementation() == "PyPy" |
General Comments 0
You need to be logged in to leave comments.
Login now