diff options
author | Martin Matusiak <numerodix@gmail.com> | 2014-03-09 14:12:51 +0100 |
---|---|---|
committer | Martin Matusiak <numerodix@gmail.com> | 2014-03-09 14:12:51 +0100 |
commit | d39335eca629a9dfde6030c26ec8f76b31ece323 (patch) | |
tree | 4fb9767ca6f18b31c262b3cf95020dd13c03963a /docs | |
parent | 6bf30ff121801361a5bbb28245622708d2be62b5 (diff) | |
download | ansicolor-d39335eca629a9dfde6030c26ec8f76b31ece323.tar.gz |
use the term text
Diffstat (limited to 'docs')
-rw-r--r-- | docs/src/getting_started.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/src/getting_started.rst b/docs/src/getting_started.rst index c5a724f..ac8b785 100644 --- a/docs/src/getting_started.rst +++ b/docs/src/getting_started.rst @@ -42,7 +42,7 @@ with it that concerns only the text, so I can strip the markup: >>> from ansicolor import yellow >>> message = "My favorite colors are %s and %s" % (yellow("yellow"), red("red")) - >>> print("The length of this string is not: %d" % len(message)) - The length of this string is not: 67 - >>> print("The length of this string is: %d" % len(strip_escapes(message))) - The length of this string is: 37 + >>> print("The length of this text is not: %d" % len(message)) + The length of this text is not: 67 + >>> print("The length of this text is: %d" % len(strip_escapes(message))) + The length of this text is: 37 |