/[gentoo]/src/packages/mstring.py
Gentoo

Diff of /src/packages/mstring.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1.1.1.2.1 Revision 1.1.1.1.2.2
1#
2# Copyright (C) 2003-2005, marduk <marduk@python.net>
3#
4# This copyrighted material is made available to anyone wishing to use,
5# modify, copy, or redistribute it subject to the terms and conditions
6# of the GNU General Public License v.2.
7#
8# You should have received a copy of the GNU General Public License
9# along with this program; if not, write to the Free Software Foundation,
10# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
11#
1"""marduk's helpin' heap 'o string functions""" 12"""marduk's helpin' heap 'o string functions"""
2 13
3 14
4def replace_sub(string, new, start, end=None): 15def replace_sub(string, new, start, end=None):
5 """Replacing substring of s with new, return new string, and position 16 """Replacing substring of s with new, return new string, and position

Legend:
Removed from v.1.1.1.1.2.1  
changed lines
  Added in v.1.1.1.1.2.2

  ViewVC Help
Powered by ViewVC 1.1.20