Skip to content

Commit a3a4d46

Browse files
committed
Updates documentation
1 parent 1547b41 commit a3a4d46

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/index.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -987,11 +987,11 @@ level.
987987
60
988988
989989
990-
PendulumInterval
991-
================
990+
Interval
991+
========
992992

993-
When you subtract a ``Pendulum`` instance to another, it will return a ``PendulumInterval`` instance.
994-
The ``PendulumInterval`` class is inherited from the native ``timedelta`` class.
993+
When you subtract a ``Pendulum`` instance to another, it will return a ``Interval`` instance.
994+
The ``Interval`` class is inherited from the native ``timedelta`` class.
995995
It has many improvements over the base class.
996996

997997
.. note::
@@ -1027,7 +1027,7 @@ You can create an instance in the following ways:
10271027
10281028
import pendulum
10291029
1030-
it = pendulum.PendulumInterval(days=1177, seconds=7284, microseconds=1234)
1030+
it = pendulum.Interval(days=1177, seconds=7284, microseconds=1234)
10311031
it = pendulum.interval(days=1177, seconds=7284, microseconds=1234)
10321032
10331033
# You can use an existing timedelta instance
@@ -1037,7 +1037,7 @@ You can create an instance in the following ways:
10371037
Properties and Duration Methods
10381038
-------------------------------
10391039

1040-
The ``PendulumInterval`` class brings more properties than the default ``days``, ``seconds`` and
1040+
The ``Interval`` class brings more properties than the default ``days``, ``seconds`` and
10411041
``microseconds``.
10421042

10431043
.. code-block:: python

0 commit comments

Comments
 (0)