File tree 3 files changed +6
-5
lines changed
3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -56,8 +56,7 @@ def cast(self, d):
56
56
If both `date_format` and `locale` have been specified
57
57
in the `agate.Date` instance, the `cast()` function
58
58
is not thread-safe.
59
- :returns:
60
- :class:`datetime.date` or :code:`None`.
59
+ :returns: :class:`datetime.date` or :code:`None`.
61
60
"""
62
61
if type (d ) is date or d is None :
63
62
return d
Original file line number Diff line number Diff line change @@ -63,8 +63,7 @@ def cast(self, d):
63
63
If both `date_format` and `locale` have been specified
64
64
in the `agate.DateTime` instance, the `cast()` function
65
65
is not thread-safe.
66
- :returns:
67
- :class:`datetime.datetime` or :code:`None`.
66
+ :returns: :class:`datetime.datetime` or :code:`None`.
68
67
"""
69
68
if isinstance (d , datetime .datetime ) or d is None :
70
69
return d
Original file line number Diff line number Diff line change 34
34
35
35
htmlhelp_basename = 'agatedoc'
36
36
37
- autodoc_default_flags = ['members' , 'show-inheritance' ]
37
+ autodoc_default_options = {
38
+ 'members' : None ,
39
+ 'show-inheritance' : True ,
40
+ }
38
41
39
42
intersphinx_mapping = {
40
43
'python' : ('https://docs.python.org/3' , None ),
You can’t perform that action at this time.
0 commit comments