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/2003-November/040249.html below:

[Python-checkins] python/dist/src/Modules heapqmodule.c, 1.1, 1.2

[Python-Dev] Re: [Python-checkins] python/dist/src/Modules heapqmodule.c, 1.1, 1.2Guido van Rossum guido at python.org
Sat Nov 15 10:43:55 EST 2003
> + 	if (!PyList_Check(heap)) {
> + 		PyErr_SetString(PyExc_ValueError, "heap argument must be a list");
> + 		return NULL;
> + 	}
> + 

As Tim suggested, this should be a TypeError.

--Guido van Rossum (home page: http://www.python.org/~guido/)

More information about the Python-Dev mailing list

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