{u}'abc'" --> "'abc'" (Python 3) Accepts a string or a function, so it can be used as a decorator.
(s)
| 173 | # Abstract u'abc' syntax: |
| 174 | @_modify_str_or_docstring |
| 175 | def u_format(s): |
| 176 | """"{u}'abc'" --> "'abc'" (Python 3) |
| 177 | |
| 178 | Accepts a string or a function, so it can be used as a decorator.""" |
| 179 | return s.format(u='') |
| 180 | |
| 181 | |
| 182 | PY2 = not PY3 |