File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ range is around [-292.3 years; +292.3 years]. Using the Unix epoch (January
2222Time formats:
2323
2424* Seconds.
25- * Seconds as a floating pointer number (C :c:type : `double `).
25+ * Seconds as a floating pointer number (C :c:expr : `double `).
2626* Milliseconds (10\ :sup: `-3` seconds).
2727* Microseconds (10\ :sup: `-6` seconds).
2828* 100 nanoseconds (10\ :sup: `-7` seconds), used on Windows.
@@ -88,7 +88,7 @@ Functions
8888
8989.. c :function :: double PyTime_AsSecondsDouble (PyTime_t t)
9090
91- Convert a timestamp to a number of seconds as a C :c:type :`double`.
91+ Convert a timestamp to a number of seconds as a C :c:expr :`double`.
9292
9393 The function cannot fail.
9494
Original file line number Diff line number Diff line change 237237 ('py:meth' , '_SubParsersAction.add_parser' ),
238238]
239239
240- # gh-106948: Copy standard C types declared in the "c:type" domain to the
241- # "c:identifier " domain, since "c:function" markup looks for types in the
242- # "c:identifier" domain. Use list() to not iterate on items which are being
243- # added
240+ # gh-106948: Copy standard C types declared in the "c:type" domain and C
241+ # structures declared in the "c:struct " domain to the "c:identifier" domain,
242+ # since "c:function" markup looks for types in the "c:identifier" domain. Use
243+ # list() to not iterate on items which are being added
244244for role , name in list (nitpick_ignore ):
245- if role == 'c:type' :
245+ if role in ( 'c:type' , 'c:struct' ) :
246246 nitpick_ignore .append (('c:identifier' , name ))
247247del role , name
248248
You can’t perform that action at this time.
0 commit comments