mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Drop python-2.5 and remove 2.4,2.5 support codes
This commit is contained in:
@@ -11,12 +11,7 @@
|
||||
|
||||
import os
|
||||
from StringIO import StringIO
|
||||
|
||||
try:
|
||||
from functools import wraps
|
||||
except ImportError:
|
||||
# functools is new in 2.5
|
||||
wraps = lambda f: (lambda w: w)
|
||||
from functools import wraps
|
||||
|
||||
from sphinx.websupport import WebSupport
|
||||
from sphinx.websupport.errors import DocumentNotFoundError, \
|
||||
|
||||
Reference in New Issue
Block a user