← 返回首页
NEWS: fix spelling errors in Misc/NEWS.d/next/Core and Builtins/2019-… · python/cpython@a4b7de6 · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

Commit a4b7de6

Browse files
NEWS: fix spelling errors in Misc/NEWS.d/next/Core and Builtins/2019-03-20-00-38-35.bpo-36375.d178R0.rst
1 parent 7d710b8 commit a4b7de6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
PEP 499 implemented: the "python -m module_name" command line option now binds the imported module
22
to both ``sys.modules['__main__]'`` and additionally to ``sys.modules['module_name']``.
3-
This prevents subtle bug that arise when a later import of the module by name within the code
3+
This prevents a subtle bug that arise when a later import of the module by name within the code
44
formerly produced a distinct instance of the module,
55
which led to hard to debug issues where the object resolved by ``__main__.obj_name``
66
was distinct from the object resolved by ``module_name.obj_name``.
7-
This led to subtle breakage of code which relied on objtect identity tests,
7+
This led to subtle breakage of code which relied on object identity tests,
88
particularly ``isinstance()`` tests and ``try/except`` clauses.

0 commit comments

Comments
 (0)

Footer

© 2026 GitHub, Inc.