From b13c6a0dff89f4af882c3dffd09e7502585938a3 Mon Sep 17 00:00:00 2001 From: mafagafogigante Date: Fri, 25 Jul 2014 19:04:45 -0300 Subject: [PATCH] Some typos fixed --- README.rst | 4 ++-- rainbowstream/draw.py | 4 ++-- rainbowstream/image.c | 2 +- rainbowstream/py3patch.py | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.rst b/README.rst index 29c0c7d..976461f 100644 --- a/README.rst +++ b/README.rst @@ -15,7 +15,7 @@ can run on Python 2.7.x and 3.x . Showcase ----------- +-------- .. figure:: https://raw.githubusercontent.com/DTVD/rainbowstream/master/screenshot/rs.gif :alt: gif @@ -90,7 +90,7 @@ suggestion. Input history from previous run is available as well. Available commands are listed in `Read The Docs`_. Theme customization ------------------------- +------------------- Rainbow Stream is shipped with some default themes. You can either change theme by ``theme`` command or create your favorite one. diff --git a/rainbowstream/draw.py b/rainbowstream/draw.py index ae60a72..3bf3920 100644 --- a/rainbowstream/draw.py +++ b/rainbowstream/draw.py @@ -262,8 +262,8 @@ def draw(t, keyword=None, check_semaphore=False, fil=[], ig=[]): if roj: occur = roj.group() ary = tweet.split(occur) - delimeter = color_func(c['TWEET']['keyword'])(occur) - tweet = delimeter.join(ary) + delimiter = color_func(c['TWEET']['keyword'])(occur) + tweet = delimiter.join(ary) # Draw rainbow line1 = u"{u:>{uw}}:".format( diff --git a/rainbowstream/image.c b/rainbowstream/image.c index 10aa6bb..e7d7413 100644 --- a/rainbowstream/image.c +++ b/rainbowstream/image.c @@ -1,5 +1,5 @@ /* - * This source is borrowed from folowwing link + * This source is borrowed from following link * https://github.com/jart/fabulous/blob/master/fabulous/_xterm256.c * I make a slightly change to fit my module here */ diff --git a/rainbowstream/py3patch.py b/rainbowstream/py3patch.py index 6dc213f..0dd6be5 100644 --- a/rainbowstream/py3patch.py +++ b/rainbowstream/py3patch.py @@ -16,7 +16,7 @@ try: except: from html import unescape -# raw_input and map functiion behaviour +# raw_input and map function behaviour if sys.version[0] == "3": raw_input = input lmap = lambda f, a: list(map(f, a)) -- 2.25.1