mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-08-01 09:07:55 -05:00
remove callable helper because 'callable' has been resurrected from py32.
This commit is contained in:
@@ -13,12 +13,6 @@
|
||||
|
||||
import collections
|
||||
|
||||
from six import PY3
|
||||
|
||||
|
||||
if PY3:
|
||||
callable = lambda o: hasattr(o, '__call__')
|
||||
|
||||
|
||||
class peek_iter(object):
|
||||
"""An iterator object that supports peeking ahead.
|
||||
|
||||
Reference in New Issue
Block a user