Skip to content

No need for two spaces between words in an import error message - #103458

Merged
hauntsaninja merged 1 commit into
python:mainfrom
nedbat:nedbat/double-space
Apr 14, 2023
Merged

hauntsaninja merged 1 commit into
python:mainfrom
nedbat:nedbat/double-space

Conversation

@nedbat

@nedbat nedbat commented Apr 11, 2023

Copy link
Copy Markdown
Member

Fixes the double-space in this error:

ModuleNotFoundError: No module named  'sys.monitoring'; 'sys' is not a package

@hauntsaninja hauntsaninja left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@hauntsaninja
hauntsaninja merged commit 1aa376f into python:main Apr 14, 2023
carljm added a commit to carljm/cpython that referenced this pull request Apr 14, 2023
* main:
  pythongh-103532: Remove TKINTER_PROTECT_LOADTK code (pythonGH-103535)
  pythongh-103180: Add CI timeouts to all GitHub Actions jobs (python#103437)
  Remove double space in import error message (python#103458)
  ipaddress: Remove non-existent ip_str param from docstring (python#103461)
  Fix syntax typo in isolating extensions doc (python#103516)
  pythongh-103406: Modernize pos-only arguments usage in `test_signature` (python#103407)
  Proofread howto/perf_profiling.rst (python#103530)
  Fix unused functions warnings in instrumentation.c (pythonGH-103515)
pablogsal added a commit to pablogsal/cpython that referenced this pull request Apr 14, 2023
carljm added a commit to carljm/cpython that referenced this pull request Apr 14, 2023
* superopt:
  fix incompatible types
  update generated cases
  don't unnecessarily re-find args in error case
  Apply suggestions from code review
  pythongh-103532: Remove TKINTER_PROTECT_LOADTK code (pythonGH-103535)
  pythongh-103180: Add CI timeouts to all GitHub Actions jobs (python#103437)
  Remove double space in import error message (python#103458)
  ipaddress: Remove non-existent ip_str param from docstring (python#103461)
  Fix syntax typo in isolating extensions doc (python#103516)
  pythongh-103406: Modernize pos-only arguments usage in `test_signature` (python#103407)
  Proofread howto/perf_profiling.rst (python#103530)
  Fix unused functions warnings in instrumentation.c (pythonGH-103515)
@nedbat
nedbat deleted the nedbat/double-space branch May 15, 2023 22:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

4 participants