Skip to content

Commit 69d3480

Browse files
committed
Merge pull request bpython#606 from jsoref/spelling
spelling fixes
2 parents ae12e15 + eb91dcf commit 69d3480

17 files changed

+39
-39
lines changed

CHANGELOG

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ New features:
101101
* #354: Edit config file from within bpython.
102102
* #382: Partial support for pasting in text with blank lines.
103103
* #410: Startup banner that shows Python and bpython version
104-
* #426: Experimental mutliline autocompletion.
104+
* #426: Experimental multiline autocompletion.
105105
* fish style last history completion with Arrow Right. Thanks to Nicholas
106106
Sweeting.
107107
* fish style automatic reverse history search with Arrow Up.
@@ -377,7 +377,7 @@ As always, please submit any bugs you might find to our bugtracker.
377377

378378
* #87: Add a closed attribute to Repl to fix mercurial.ui.ui expecting stderr
379379
to have this attribute.
380-
* #108: Unicode characters in docsrting crash bpython
380+
* #108: Unicode characters in docstring crash bpython
381381
* #118: Load_theme is not defined.
382382
* #99: Configurable font now documented.
383383
* #123: <F8> Pastebin can't handle 'ESC' key
@@ -522,7 +522,7 @@ Probably some other things, but I hate changelogs. :)
522522
0.8.0
523523
------
524524

525-
It's been a long while since the last release and there've been numerous little
525+
It's been a long while since the last release and there have been numerous little
526526
bugfixes and extras here and there so I'm putting this out as 0.8.0. Check the
527527
hg commit history if you want more info:
528528
http://bitbucket.org/bobf/bpython/

bpython/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
try:
2626
from bpython._version import __version__ as version
2727
except ImportError:
28-
version = 'unkown'
28+
version = 'unknown'
2929

3030
__version__ = version
3131
package_dir = os.path.abspath(os.path.dirname(__file__))

bpython/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# The MIT License
44
#
5-
# Copyirhgt (c) 2015 Sebastian Ramacher
5+
# Copyright (c) 2015 Sebastian Ramacher
66
#
77
# Permission is hereby granted, free of charge, to any person obtaining a copy
88
# of this software and associated documentation files (the "Software"), to deal

bpython/cli.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
# Modified by Brandon Navra
2626
# Notes for Windows
27-
# Prerequsites
27+
# Prerequisites
2828
# - Curses
2929
# - pyreadline
3030
#
@@ -434,7 +434,7 @@ def check(self):
434434

435435
def clear_current_line(self):
436436
"""Called when a SyntaxError occurred in the interpreter. It is
437-
used to prevent autoindentation from occuring after a
437+
used to prevent autoindentation from occurring after a
438438
traceback."""
439439
repl.Repl.clear_current_line(self)
440440
self.s = ''
@@ -449,7 +449,7 @@ def clear_wrapped_lines(self):
449449
self.scr.clrtoeol()
450450

451451
def complete(self, tab=False):
452-
"""Get Autcomplete list and window.
452+
"""Get Autocomplete list and window.
453453
454454
Called whenever these should be updated, and called
455455
with tab
@@ -1375,7 +1375,7 @@ def lsize():
13751375
get_colpair(self.config, 'comment'))
13761376
# XXX: After all the trouble I had with sizing the list box (I'm not very good
13771377
# at that type of thing) I decided to do this bit of tidying up here just to
1378-
# make sure there's no unnececessary blank lines, it makes things look nicer.
1378+
# make sure there's no unnecessary blank lines, it makes things look nicer.
13791379

13801380
y = self.list_win.getyx()[0]
13811381
self.list_win.resize(y + 2, w)
@@ -1396,7 +1396,7 @@ def lsize():
13961396

13971397
def size(self):
13981398
"""Set instance attributes for x and y top left corner coordinates
1399-
and width and heigth for the window."""
1399+
and width and height for the window."""
14001400
global stdscr
14011401
h, w = stdscr.getmaxyx()
14021402
self.y = 0
@@ -1566,7 +1566,7 @@ def __init__(self, scr, pwin, background, config, s=None, c=None):
15661566

15671567
def size(self):
15681568
"""Set instance attributes for x and y top left corner coordinates
1569-
and width and heigth for the window."""
1569+
and width and height for the window."""
15701570
h, w = gethw()
15711571
self.y = h - 1
15721572
self.w = w

bpython/clipboard.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def command_exists(command):
6060

6161

6262
def get_clipboard():
63-
"""Get best clipboard handling implemention for current system."""
63+
"""Get best clipboard handling implementation for current system."""
6464

6565
if platform.system() == 'Darwin':
6666
if command_exists('pbcopy'):

bpython/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def can_encode(c):
3333

3434

3535
def supports_box_chars():
36-
"""Check if the encoding suppors Unicode box characters."""
36+
"""Check if the encoding supports Unicode box characters."""
3737
return all(map(can_encode, u'│─└┘┌┐'))
3838

3939

bpython/curtsiesfrontend/manual_readline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def add(self, key, func, overwrite=False):
5656

5757
def add_config_attr(self, config_attr, func):
5858
if config_attr in self.awaiting_config:
59-
raise ValueError('config attrribute %r already has a mapping' %
59+
raise ValueError('config attribute %r already has a mapping' %
6060
(config_attr,))
6161
self.awaiting_config[config_attr] = func
6262

bpython/curtsiesfrontend/repl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1136,7 +1136,7 @@ def send_to_stdout(self, output):
11361136
def send_to_stderr(self, error):
11371137
"""Send unicode strings or FmtStr to Repl stderr
11381138
1139-
Must be able to handle FmtStrs because interepter pass in
1139+
Must be able to handle FmtStrs because interpreter pass in
11401140
tracebacks already formatted."""
11411141
lines = error.split('\n')
11421142
if lines[-1]:

bpython/formatter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
"""These format strings are pretty ugly.
3333
\x01 represents a colour marker, which
34-
can be proceded by one or two of
34+
can be preceded by one or two of
3535
the following letters:
3636
k, r, g, y, b, m, c, w, d
3737
Which represent:

bpython/history.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# The MIT License
44
#
55
# Copyright (c) 2009 the bpython authors.
6-
# Copyirhgt (c) 2012,2015 Sebastian Ramacher
6+
# Copyright (c) 2012,2015 Sebastian Ramacher
77
#
88
# Permission is hereby granted, free of charge, to any person obtaining a copy
99
# of this software and associated documentation files (the "Software"), to deal

0 commit comments

Comments
 (0)