Skip to content

Commit 8fa0f91

Browse files
[3.14] Datetime: Tidy up docs (GH-144720) (GH-144956)
(cherry picked from commit c6a142f) Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com> Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
1 parent a3b6be9 commit 8fa0f91

File tree

4 files changed

+205
-56
lines changed

4 files changed

+205
-56
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ Doc/c-api/module.rst @ericsnowcurrently
161161
# Dates and times
162162
**/*datetime* @pganssle @abalkin
163163
**/*str*time* @pganssle @abalkin
164+
Doc/library/datetime-* @pganssle
164165
Doc/library/time.rst @pganssle @abalkin
165166
Lib/test/test_time.py @pganssle @abalkin
166167
Modules/timemodule.c @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+
}
Lines changed: 84 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)