Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #35 from Trundle/typo_fixes
Fix some typos.
  • Loading branch information
superbobry committed Feb 26, 2015
2 parents f1243c3 + d88a073 commit 12276a8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pyte/screens.py
Expand Up @@ -624,7 +624,7 @@ def erase_in_line(self, type_of=0, private=False):
* ``1`` -- Erases from beginning of line to cursor,
including cursor position.
* ``2`` -- Erases complete line.
:param bool private: when ``True`` character attributes aren left
:param bool private: when ``True`` character attributes are left
unchanged **not implemented**.
"""
interval = (
Expand Down Expand Up @@ -652,7 +652,7 @@ def erase_in_display(self, type_of=0, private=False):
including cursor position.
* ``2`` -- Erases complete display. All lines are erased
and changed to single-width. Cursor does not move.
:param bool private: when ``True`` character attributes aren left
:param bool private: when ``True`` character attributes are left
unchanged **not implemented**.
"""
interval = (
Expand Down
4 changes: 2 additions & 2 deletions pyte/streams.py
Expand Up @@ -314,11 +314,11 @@ class ByteStream(Stream):
By default, the following decoding strategy is used:
* First, try strict ``"utf-8"``, proceed if recieved and
* First, try strict ``"utf-8"``, proceed if received and
:exc:`UnicodeDecodeError` ...
* Try strict ``"cp437"``, failed? move on ...
* Use ``"utf-8"`` with invalid bytes replaced -- this one will
allways succeed.
always succeed.
>>> stream = ByteStream()
>>> stream.feed(b"foo".decode("utf-8"))
Expand Down

0 comments on commit 12276a8

Please sign in to comment.