[Python-Dev] to_int -- oops, one step missing for use.
Scott David Daniels
Scott.Daniels at Acm.Org
Thu Nov 10 08:28:11 CET 2005
Well, wouldn't you know it.
I get the code right and mess up the directions.
Scott David Daniels wrote:
> if you build this module, I'd suggest using
> "from to_int import chomp" to get a function that works like int
> (producing a long when needed and so on).
Well, actually it is a bit more than that.
"from to_int import chomp, _flag; _flag(1)"
This sets a flag to suppress the return of the length along
with the value from chomp.
--Scott David Daniels
Scott.Daniels at Acm.Org
More information about the Python-Dev
mailing list