Skip to content

Commit c0ce25d

Browse files
Apply batched suggestions from code review
Co-authored-by: Stan Ulbrych <stan@python.org> Co-authored-by: Cody Maloney <cmaloney@users.noreply.github.com>
1 parent 2922cff commit c0ce25d

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

‎Doc/library/posix.rst‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@ Errors are reported as exceptions; the usual exceptions are given for type
2727
errors, while errors reported by the system calls raise :exc:`OSError`.
2828

2929
.. versionchanged:: next
30-
This module and its contents report :mod:`os` as ``__module__`` and are
31-
:ref:`pickled <pickle-picklable>` as ``os.<name>``.
30+
This module's :attr:`~module.__name__` and the
31+
:attr:`~function.__module__` of its functions are now ``'os'``, and its
32+
functions are :ref:`pickled <pickle-picklable>` as ``os.<name>``.
3233

3334
.. _posix-large-files:
3435

‎Lib/test/test_importlib/builtin/test_loader.py‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
@unittest.skipIf(util.BUILTINS.good_name is None, 'no reasonable builtin module')
1313
class InspectLoaderTests:
14-
1514
"""Tests for InspectLoader methods for BuiltinImporter."""
1615

1716
def test_get_code(self):
@@ -44,7 +43,6 @@ def test_not_builtin(self):
4443

4544

4645
class OsModuleTests:
47-
4846
"""Test loading _os and its historical name by hand."""
4947

5048
def test_load_by_hand(self):

0 commit comments

Comments
 (0)