Skip to content

Commit 8d9046d

Browse files
authored
Merge pull request #1301 from 24f3003921/patch-1
Fix inconsistent spacing in datetime arguments in tutorial
2 parents 549e86a + 56c7e64 commit 8d9046d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docs/tutorials/create-event-with-attendees.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ You can also set these properties on creation.
6161
>>> import zoneinfo
6262
>>>
6363
>>> event = Event.new(
64-
... start=dt.datetime(2026, 3, 21, 6, 30,0, tzinfo=zoneinfo.ZoneInfo("UTC")),
65-
... end=dt.datetime(2026, 3, 21, 7, 30,0, tzinfo=zoneinfo.ZoneInfo("UTC")),
64+
... start=dt.datetime(2026, 3, 21, 6, 30, 0, tzinfo=zoneinfo.ZoneInfo("UTC")),
65+
... end=dt.datetime(2026, 3, 21, 7, 30, 0, tzinfo=zoneinfo.ZoneInfo("UTC")),
6666
... )
6767
6868
This creates an event with a start and end date and time defined using :class:`~datetime.datetime` with a timezone.
@@ -210,4 +210,4 @@ Look on your file system for the file, local to where you issued commands.
210210
Its contents should be the following.
211211

212212
.. literalinclude:: example.ics
213-
:language: ics
213+
:language: ics

0 commit comments

Comments
 (0)