Skip to content

Commit 7085fd9

Browse files
committed
Further tweaks to NaiveDatetimePicker docs
1 parent 09ecd98 commit 7085fd9

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

docs/source/examples/Widget List.ipynb

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1161,11 +1161,13 @@
11611161
"cell_type": "markdown",
11621162
"metadata": {},
11631163
"source": [
1164-
"## Naive picker\n",
1165-
"\n",
1166-
"In some cases you might want to be able to pick naive datetime objects, i.e. timezone-unaware datetimes. To quote the Python 3 docs:\n",
1167-
"\n",
1168-
"> Naive objects are easy to understand and to work with, at the cost of ignoring some aspects of reality."
1164+
"## Naive picker\n",
1165+
"\n",
1166+
"In some cases you might want to be able to pick naive datetime objects, i.e. timezone-unaware datetimes. To quote the Python 3 docs:\n",
1167+
"\n",
1168+
"> Naive objects are easy to understand and to work with, at the cost of ignoring some aspects of reality.\n",
1169+
"\n",
1170+
"This is useful if you need to compare the picked datetime to naive datetime objects, as Python will otherwise complain!"
11691171
]
11701172
},
11711173
{
@@ -1174,7 +1176,7 @@
11741176
"metadata": {},
11751177
"outputs": [],
11761178
"source": [
1177-
"ipydatetime.NaiveDatetimePicker(description='Pick a Time')"
1179+
"ipydatetime.NaiveDatetimePicker(description='Pick a Time')"
11781180
]
11791181
},
11801182
{

0 commit comments

Comments
 (0)