File: python2_unicode_literals.py

package info (click to toggle)
black 18.9b0-1-6
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 5,160 kB
  • sloc: python: 91,870; makefile: 32; sh: 2
file content (20 lines) | stat: -rw-r--r-- 433 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/env python2
from __future__ import unicode_literals as _unicode_literals
from __future__ import absolute_import
from __future__ import print_function as lol, with_function

u'hello'
U"hello"
Ur"hello"

# output


#!/usr/bin/env python2
from __future__ import unicode_literals as _unicode_literals
from __future__ import absolute_import
from __future__ import print_function as lol, with_function

"hello"
"hello"
r"hello"