Skip to content

Commit bbdf869

Browse files
committed
revert some experiments
1 parent 6757399 commit bbdf869

File tree

4 files changed

+6
-11
lines changed

4 files changed

+6
-11
lines changed

doc/_templates/autosummary/class.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
{% block attributes %}
1010
{% if attributes %}
11-
.. rubric:: {{ _('Axttributes') }}
11+
.. rubric:: {{ _('Attributes') }}
1212

1313
.. autosummary::
1414
{% for item in attributes %}

doc/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -724,7 +724,7 @@ def process_class_docstrings(app, what, name, obj, options, lines) -> None:
724724
joined = "\n".join(lines)
725725

726726
templates = [
727-
""".. rubric:: Ayttributes
727+
""".. rubric:: Attributes
728728
729729
.. autosummary::
730730
:toctree:

doc/source/reference/offset_frequency.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1177,7 +1177,7 @@ Tick
11771177

11781178
Tick
11791179

1180-
Pxroperties
1180+
Properties
11811181
~~~~~~~~~~
11821182
.. autosummary::
11831183
:toctree: api/

pandas/_libs/tslibs/offsets.pyx

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1187,6 +1187,9 @@ cdef class Day(Tick):
11871187
n : int
11881188
Number of multiples of the frequency.
11891189
1190+
normalize: bool
1191+
Must be `False`
1192+
11901193
Attributes
11911194
----------
11921195
n : int, default 1
@@ -1889,14 +1892,6 @@ cdef class BusinessDay(BusinessMixin):
18891892
self._offset = state.pop("offset")
18901893
self._cache = state.pop("_cache", {})
18911894

1892-
def __init__(self, n=1, normalize=False, offset=timedelta(0)):
1893-
"""
1894-
__init__(self, n=1, normalize=False, offset=timedelta(0))
1895-
1896-
This defines init
1897-
"""
1898-
super().__init__(n, normalize, offset)
1899-
19001895
def _offset_str(self) -> str:
19011896
def get_str(td):
19021897
off_str = ""

0 commit comments

Comments
 (0)