aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMykyta Holubakha <hilobakho@gmail.com>2017-07-05 20:53:10 +0300
committerMykyta Holubakha <hilobakho@gmail.com>2017-07-05 20:53:10 +0300
commit89ea936652960049bf6ad307df83f52733819683 (patch)
tree13a6d07b3a27d0e31bbe7dd63a2b6a1fc189c31a /pomu/util/str.py
parentAdded the manpage (diff)
downloadpomu-89ea936652960049bf6ad307df83f52733819683.tar.gz
pomu-89ea936652960049bf6ad307df83f52733819683.tar.bz2
pomu-89ea936652960049bf6ad307df83f52733819683.zip
Some fixes
Diffstat (limited to 'pomu/util/str.py')
-rw-r--r--pomu/util/str.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pomu/util/str.py b/pomu/util/str.py
index 96a7c81..11fc514 100644
--- a/pomu/util/str.py
+++ b/pomu/util/str.py
@@ -1,5 +1,5 @@
"""String processing utilities"""
-def pivot(string, idx, keep_pivot=True):
+def pivot(string, idx, keep_pivot=False):
"""
A function to split a string in two, pivoting at string[idx].
If keep_pivot is set, the pivot character is included in the second string.