"Raymond Hettinger" <python at rcn.com> writes: >> PyList_SetSlice(lst, n-1, n, NULL); > > There's the new piece of information. I didn't know that the final > argument could be NULL and creating/destroying and empty list for the > arg was unpleasant. I'll add that info to the API docs. "del<wotsit> thing" is punned into "set<wotsit> thing NULL" at a pretty low level, and fairly consistently (hope that made sense...). Cheers, mwh -- MAN: How can I tell that the past isn't a fiction designed to account for the discrepancy between my immediate physical sensations and my state of mind? -- The Hitch-Hikers Guide to the Galaxy, Episode 12
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