Skip to content

Commit 798fcef

Browse files
Add file to generate
1 parent d61daec commit 798fcef

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed

.github/CODEOWNERS

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

419419
# Dates and times
420420
Doc/**/*time.rst @pganssle @abalkin
421+
Doc/library/datetime-* @pganssle
421422
Doc/library/zoneinfo.rst @pganssle
422423
Include/datetime.h @pganssle @abalkin
423424
Include/internal/pycore_time.h @pganssle @abalkin
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+
}

0 commit comments

Comments
 (0)