Skip to content

Commit b78ca1b

Browse files
Apply suggestions from code review
Co-authored-by: Stan Ulbrych <[email protected]>
1 parent 60a26f7 commit b78ca1b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Doc/library/locale.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ The :mod:`locale` module defines the following exception and functions:
4141
:exc:`Error` is raised. If successful, the new locale setting is returned.
4242

4343
The format of the *locale* and the language code strings is platform
44-
depended, but the forms ``language[_territory][.encoding][@modifier]``
44+
dependent, but the forms ``language[_territory][.encoding][@modifier]``
4545
and ``language[_territory]`` respectively are typically accepted on all
4646
platforms.
4747
The language code and encoding can be ``None``.
@@ -363,10 +363,10 @@ The :mod:`locale` module defines the following exception and functions:
363363
.. function:: getlocale(category=LC_CTYPE)
364364

365365
Returns the current setting for the given locale category as a tuple containing
366-
language code and encoding. *category* may be one of the :const:`!LC_\*` values
367-
except :const:`LC_ALL`. It defaults to :const:`LC_CTYPE`.
366+
the language code and encoding. *category* may be one of the :const:`!LC_\*`
367+
values except :const:`LC_ALL`. It defaults to :const:`LC_CTYPE`.
368368

369-
The format of the language code is platform depended, but on Posix
369+
The format of the language code is platform dependent, but on Posix
370370
platforms it usually looks like ``language[_territory]``.
371371
The language code and encoding may be ``None`` if their values cannot be
372372
determined.

0 commit comments

Comments
 (0)