This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author dileep k
Recipients dileep k
Date 2016-04-11.19:57:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1460404652.51.0.927437963251.issue26738@psf.upfronthosting.co.za>
In-reply-to
Content
12:54:38 | ~ | #1 $ python -V
Python 2.7.6

12:54:41 | ~ | #2 $ python
Python 2.7.6 (default, Jun 22 2015, 17:58:13) 
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.

>>> 'media.log'.strip('.log')
'media'

>>> 'video.log'.strip('.log')
'vide'

>>> 

The output should have been 'video' instead of 'vide' !
History
Date User Action Args
2016-04-11 19:57:32dileep ksetrecipients: + dileep k
2016-04-11 19:57:32dileep ksetmessageid: <1460404652.51.0.927437963251.issue26738@psf.upfronthosting.co.za>
2016-04-11 19:57:32dileep klinkissue26738 messages
2016-04-11 19:57:32dileep kcreate