File tree Expand file tree Collapse file tree 4 files changed +6
-15
lines changed
Expand file tree Collapse file tree 4 files changed +6
-15
lines changed Original file line number Diff line number Diff line change 2121# THE SOFTWARE.
2222
2323import pydoc
24-
2524import bpython ._internal
26- from bpython .repl import getpreferredencoding
2725
2826
2927class NopPydocPager :
Original file line number Diff line number Diff line change 1111"""
1212
1313import code
14- import signal
1514import greenlet
1615import logging
16+ import signal
1717import threading
1818
19- from bpython .config import getpreferredencoding
20-
2119logger = logging .getLogger (__name__ )
2220
2321
Original file line number Diff line number Diff line change 11# The MIT License
22#
3- # Copyright (c) 2014-2015 Sebastian Ramacher
3+ # Copyright (c) 2014-2020 Sebastian Ramacher
44#
55# Permission is hereby granted, free of charge, to any person obtaining a copy
66# of this software and associated documentation files (the "Software"), to deal
2020# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2121# THE SOFTWARE.
2222
23-
24- from locale import getpreferredencoding
25- from urllib .parse import quote as urlquote , urljoin , urlparse
26- from string import Template
2723import errno
2824import requests
2925import subprocess
3026import unicodedata
3127
28+ from locale import getpreferredencoding
29+ from urllib .parse import urljoin , urlparse
30+
3231from .translations import _
3332
3433
Original file line number Diff line number Diff line change 3131This is still *VERY* rough.
3232"""
3333
34- import builtins
3534import sys
3635import os
3736import time
3837import locale
3938import signal
39+ import urwid
4040
4141from pygments .token import Token
4242
4343from . import args as bpargs , repl , translations
44- from .config import getpreferredencoding
4544from .formatter import theme_map
4645from .importcompletion import find_coroutine
4746from .translations import _
48-
4947from .keys import urwid_key_dispatch as key_dispatch
5048
51- import urwid
52-
5349Parenthesis = Token .Punctuation .Parenthesis
5450
5551# Urwid colors are:
You can’t perform that action at this time.
0 commit comments