File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff 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.
995995It 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
You can’t perform that action at this time.
0 commit comments