A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2001-August/017318.html below:

Generalizing "in" to pairs of sequences

[Python-Dev] Re: Generalizing "in" to pairs of sequences [Python-Dev] Re: Generalizing "in" to pairs of sequencesEric S. Raymond esr@thyrsus.com
Mon, 27 Aug 2001 14:01:34 -0400
Barry A. Warsaw <barry@zope.com>:
>     AC> substringp would probably be the wrong name for it, though.
> 
> Hmm, "hassubstring()"?

How about "contains"?  E.g.

if a.contains(b):
	# do stuff
-- 
		<a href="http://www.tuxedo.org/~esr/">Eric S. Raymond</a>

(Those) who are trying to read the Second Amendment out of the Constitution by
claiming it's not an individual right (are) courting disaster by encouraging
others to use the same means to eliminate portions of the Constitution they
don't like.
	-- Alan Dershowitz, Harvard Law School



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4