A RetroSearch Logo

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

Search Query:

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

[Python-Dev] Re: [Python-checkins] CVS: python/dist/src/Objects stringobject.c,2.124,2.125

[Python-Dev] Re: [Python-checkins] CVS: python/dist/src/Objects stringobject.c,2.124,2.125Greg Stein gstein@lyra.org
Sat, 25 Aug 2001 23:21:47 -0700
On Fri, Aug 24, 2001 at 11:32:08AM -0700, Barry Warsaw wrote:
> Update of /cvsroot/python/python/dist/src/Objects
> In directory usw-pr-cvs1:/tmp/cvs-serv13719/Objects
> 
> Modified Files:
> 	stringobject.c
>...
> +  end:
> + 	_PyString_Resize(&string, s - PyString_AsString(string));

You could use: s - PyString_AS_STRING(string)

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/



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