Skip to content

Commit 1a9c743

Browse files
committed
Remove import from __future__
1 parent 943d201 commit 1a9c743

13 files changed

Lines changed: 0 additions & 20 deletions

curtsies/formatstring.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from __future__ import unicode_literals
21
r"""Colored strings that behave mostly like strings
32
43
>>> s = fmtstr("Hey there!", 'red')

curtsies/formatstringarray.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import unicode_literals
2-
31
"""
42
Format String 2D array
53
2d array for compositing term-formated strings

curtsies/window.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# All windows write only unicode to the terminal -
22
# that's what blessings does, so we match it.
33

4-
from __future__ import unicode_literals
54

65
from typing import (
76
Optional,

examples/chat.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from __future__ import unicode_literals
21
"""A more realtime netcat"""
32
import sys
43
import select

examples/demo_window.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import unicode_literals
2-
31
import sys
42
import signal
53
import logging

examples/fps.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import unicode_literals, division
2-
31
import time
42

53
from curtsies import FullscreenWindow, Input, FSArray

examples/gameexample.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import unicode_literals
2-
31
import itertools
42
import sys
53

examples/quickstart.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from __future__ import unicode_literals # convenient for Python 2
21
import random
32

43
from curtsies import FullscreenWindow, Input, FSArray

tests/test_configfile_keynames.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: UTF8 -*-
21
import unittest
32
from functools import partial
43

tests/test_events.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: UTF8 -*-
21
import unittest
32
from functools import partial
43

0 commit comments

Comments
 (0)