A RetroSearch Logo

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

Search Query:

Showing content from https://github.com/ipython/ipython/issues/1916/ below:

GitHub ยท Where software is built

.../lib/python/site-packages/ipython-0.13.dev-py3.2.egg/IPython/core/hooks.py in add(self, func, priority)
    149     def add(self, func, priority=0):
    150         """ Add a func to the cmd chain with given priority """
--> 151         bisect.insort(self.chain,(priority,func))
    152 
    153     def __iter__(self):

TypeError: unorderable types: function() < function()

Functions are no longer orderable, so sorting [(1,func), (1,funcB)] fails.


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