Skip to content

Commit 4e0803c

Browse files
authored
Clarify Commit.commit_time and commit_time_offset documentation
Clarify the documentation for these fields, so the user doesn't have to guess if they contain strings or datetime.datetime objects or what.
1 parent 87c2a39 commit 4e0803c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/commit.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ Commit_raw_message__get__(Commit *self)
148148
}
149149

150150

151-
PyDoc_STRVAR(Commit_commit_time__doc__, "Commit time.");
151+
PyDoc_STRVAR(Commit_commit_time__doc__, "Commit time, an int (Unix timestamp).");
152152

153153
PyObject *
154154
Commit_commit_time__get__(Commit *self)
@@ -158,7 +158,7 @@ Commit_commit_time__get__(Commit *self)
158158
}
159159

160160

161-
PyDoc_STRVAR(Commit_commit_time_offset__doc__, "Commit time offset.");
161+
PyDoc_STRVAR(Commit_commit_time_offset__doc__, "Commit time zone UTC offset, an int (minutes).");
162162

163163
PyObject *
164164
Commit_commit_time_offset__get__(Commit *self)

0 commit comments

Comments
 (0)