Skip to content

Commit 3456cd1

Browse files
committed
Merge branch 'main' into frozendict_fromkeys_copy
2 parents 6ecc628 + 1ddb412 commit 3456cd1

21 files changed

+552
-178
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -424,6 +424,7 @@ Lib/test/test_dataclasses/ @ericvsmith
424424

425425
# Dates and times
426426
Doc/**/*time.rst @pganssle @abalkin
427+
Doc/library/datetime-* @pganssle
427428
Doc/library/zoneinfo.rst @pganssle
428429
Include/datetime.h @pganssle @abalkin
429430
Include/internal/pycore_time.h @pganssle @abalkin

Doc/faq/programming.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1852,6 +1852,8 @@ to the object:
18521852
13891296
18531853

18541854

1855+
.. _faq-identity-with-is:
1856+
18551857
When can I rely on identity tests with the *is* operator?
18561858
---------------------------------------------------------
18571859

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
// Used to generate datetime-inheritance.svg with Graphviz
2+
// (https://graphviz.org/) for the datetime documentation.
3+
4+
digraph {
5+
comment="Generated with datetime-inheritance.dot"
6+
graph [
7+
bgcolor="transparent"
8+
fontnames="svg"
9+
layout="dot"
10+
ranksep=0.5
11+
nodesep=0.5
12+
splines=line
13+
]
14+
node [
15+
fontname="Courier"
16+
fontsize=14.0
17+
shape=box
18+
style=rounded
19+
margin="0.15,0.07"
20+
]
21+
edge [
22+
arrowhead=none
23+
]
24+
25+
object -> tzinfo
26+
object -> timedelta
27+
object -> time
28+
object -> date
29+
tzinfo -> timezone
30+
date -> datetime
31+
}
Lines changed: 84 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)