Skip to content

Commit 258b3df

Browse files
committed
doc: use sentence case for headers
Add also a title in Doc/library/stdtypes.rst.
1 parent 3d08f46 commit 258b3df

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

Doc/c-api/dict.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
.. _dictobjects:
44

5-
Dictionary Objects
5+
Dictionary objects
66
------------------
77

88
.. index:: pair: object; dictionary
@@ -444,7 +444,7 @@ Dictionary Objects
444444
.. versionadded:: 3.12
445445
446446
447-
Dictionary View Objects
447+
Dictionary view objects
448448
^^^^^^^^^^^^^^^^^^^^^^^
449449
450450
.. c:function:: int PyDictViewSet_Check(PyObject *op)
@@ -514,14 +514,14 @@ Frozen dictionary objects
514514
.. c:function:: int PyAnyDict_CheckExact(PyObject *p)
515515
516516
Return true if *p* is a :class:`dict` object or a :class:`frozendict` object,
517-
but not an instance of a subtype of the :class:`!dict` or
517+
but not an instance of a subtype of the :class:`!dict` or
518518
:class:`!frozendict` type.
519519
This function always succeeds.
520520
521521
522522
.. c:function:: int PyFrozenDict_Check(PyObject *p)
523523
524-
Return true if *p* is a :class:`frozendict` object or an instance of a
524+
Return true if *p* is a :class:`frozendict` object or an instance of a
525525
subtype of the :class:`!frozendict` type.
526526
This function always succeeds.
527527

Doc/library/stdtypes.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5839,6 +5839,9 @@ An example of dictionary view usage::
58395839
500
58405840

58415841

5842+
Frozen dictionaries
5843+
-------------------
5844+
58425845
.. class:: frozendict(**kwargs)
58435846
frozendict(mapping, /, **kwargs)
58445847
frozendict(iterable, /, **kwargs)

0 commit comments

Comments
 (0)