Make doctest happy by adding missing import

pull/613/head
Bastian Wegge 2024-05-01 19:51:10 +02:00
rodzic 3e3818152d
commit 65954efd25
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -311,6 +311,7 @@ Add the event to the calendar::
Extending the event with subcomponents you can create multiple alarms::
>>> from icalendar import Alarm
>>> from datetime import timedelta
>>> alarm_1h_before = Alarm()
>>> alarm_1h_before.add("action", "DISPLAY")