Skip to content

Commit f8e191c

Browse files
committed
Dropped 2.X support
1 parent 9104e16 commit f8e191c

22 files changed

+15
-122
lines changed

docs/conf.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# -*- coding: utf-8 -*-
2-
#
31
# pyte documentation build configuration file, created by
42
# sphinx-quickstart on Fri Apr 8 12:49:51 2011.
53
#

examples/capture.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
"""
32
capture
43
~~~~~~~
@@ -10,8 +9,6 @@
109
:license: LGPL, see LICENSE for more details.
1110
"""
1211

13-
from __future__ import print_function, unicode_literals
14-
1512
import os
1613
import pty
1714
import signal

examples/debug.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
"""
32
debug
43
~~~~~
@@ -12,8 +11,6 @@
1211
:license: LGPL, see LICENSE for more details.
1312
"""
1413

15-
from __future__ import print_function, unicode_literals
16-
1714
import pyte
1815

1916
# A blob of `ADOM` output we need to debug. Hey! I know this is ugly ...

examples/helloworld.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
"""
32
helloworld
43
~~~~~~~~~~
@@ -9,8 +8,6 @@
98
:license: LGPL, see LICENSE for more details.
109
"""
1110

12-
from __future__ import print_function, unicode_literals
13-
1411
import pyte
1512

1613

examples/history.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
"""
32
history
43
~~~~~~~
@@ -9,16 +8,11 @@
98
:license: LGPL, see LICENSE for more details.
109
"""
1110

12-
from __future__ import print_function, unicode_literals
13-
1411
import os
1512
import random
1613
import string
1714
import sys
1815

19-
if sys.version_info[0] == 2:
20-
input = raw_input
21-
2216
import pyte
2317
from pyte import modes as mo
2418

examples/nanoterm.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
"""
32
nanoterm
43
~~~~~~~~
@@ -11,8 +10,6 @@
1110
:license: LGPL, see LICENSE for more details.
1211
"""
1312

14-
from __future__ import print_function, unicode_literals
15-
1613
import os
1714
import pty
1815
import select

pyte/__init__.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
"""
32
pyte
43
~~~~
@@ -23,8 +22,6 @@
2322
:license: LGPL, see LICENSE for more details.
2423
"""
2524

26-
from __future__ import absolute_import
27-
2825
__all__ = ("Screen", "DiffScreen", "HistoryScreen", "DebugScreen",
2926
"Stream", "ByteStream")
3027

@@ -35,8 +32,6 @@
3532

3633

3734
if __debug__:
38-
from .compat import str
39-
4035
def dis(chars):
4136
"""A :func:`dis.dis` for terminals.
4237

pyte/__main__.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
"""
32
pyte
43
~~~~
@@ -23,8 +22,6 @@
2322
:license: LGPL, see LICENSE for more details.
2423
"""
2524

26-
from __future__ import unicode_literals
27-
2825
if __name__ == "__main__":
2926
import sys
3027
import pyte

pyte/charsets.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
"""
32
pyte.charsets
43
~~~~~~~~~~~~~
@@ -17,11 +16,6 @@
1716
:license: LGPL, see LICENSE for more details.
1817
"""
1918

20-
from __future__ import absolute_import, unicode_literals
21-
22-
from .compat import chr, map
23-
24-
2519
#: Latin1.
2620
LAT1_MAP = "".join(map(chr, range(256)))
2721

pyte/compat.py

Lines changed: 0 additions & 30 deletions
This file was deleted.

0 commit comments

Comments
 (0)