mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
5cf181bae6
commit
2d574c2b85
@ -6,7 +6,7 @@ from __future__ import (unicode_literals, division, absolute_import,
|
||||
__license__ = 'GPL v3'
|
||||
__copyright__ = '2015, Kovid Goyal <kovid at kovidgoyal.net>'
|
||||
|
||||
import httplib, sys, inspect, re, time, numbers, json as jsonlib
|
||||
import httplib, sys, inspect, re, time, numbers, json as jsonlib, textwrap
|
||||
from urllib import quote as urlquote
|
||||
from itertools import izip
|
||||
from operator import attrgetter
|
||||
@ -60,7 +60,7 @@ def endpoint(route,
|
||||
argspec.args[0]: Context,
|
||||
argspec.args[1]: RequestData,
|
||||
}
|
||||
f.__doc__ = (f.__doc__ or '') + '\n\n' + (
|
||||
f.__doc__ = textwrap.dedent(f.__doc__ or '') + '\n\n' + (
|
||||
(':type %s: calibre.srv.handler.Context\n' % argspec.args[0]) +
|
||||
(':type %s: calibre.srv.http_response.RequestData\n' % argspec.args[1])
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user