Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typo (nam ing) in import system docs #82643

Closed
roysmith mannequin opened this issue Oct 13, 2019 · 4 comments
Closed

Typo (nam ing) in import system docs #82643

roysmith mannequin opened this issue Oct 13, 2019 · 4 comments
Labels
docs Documentation in the Doc dir

Comments

@roysmith
Copy link
Mannequin

roysmith mannequin commented Oct 13, 2019

BPO 38462
Nosy @ericvsmith
Files
  • Screen Shot 2019-10-13 at 10.12.15 AM.jpg
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2019-10-13.16:11:27.673>
    created_at = <Date 2019-10-13.13:31:35.038>
    labels = ['invalid', 'docs']
    title = 'Typo (nam ing) in import system docs'
    updated_at = <Date 2019-11-27.19:53:32.470>
    user = 'https://bugs.python.org/roysmith'

    bugs.python.org fields:

    activity = <Date 2019-11-27.19:53:32.470>
    actor = 'roysmith'
    assignee = 'docs@python'
    closed = True
    closed_date = <Date 2019-10-13.16:11:27.673>
    closer = 'eric.smith'
    components = ['Documentation']
    creation = <Date 2019-10-13.13:31:35.038>
    creator = 'roysmith'
    dependencies = []
    files = ['48658']
    hgrepos = []
    issue_num = 38462
    keywords = []
    message_count = 4.0
    messages = ['354581', '354583', '354585', '357580']
    nosy_count = 3.0
    nosy_names = ['roysmith', 'eric.smith', 'docs@python']
    pr_nums = []
    priority = 'normal'
    resolution = 'not a bug'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue38462'
    versions = ['Python 3.5']

    @roysmith
    Copy link
    Mannequin Author

    roysmith mannequin commented Oct 13, 2019

    In https://docs.python.org/3.5/reference/import.html#importsystem, section "5.2 Packages", second sentence, the word "naming" is broken across two lines.

    In 3.7.5rc1 as well. Didn't check any others.

    @roysmith roysmith mannequin assigned docspython Oct 13, 2019
    @roysmith roysmith mannequin added the docs Documentation in the Doc dir label Oct 13, 2019
    @ericvsmith
    Copy link
    Member

    I'm not seeing this in either the master or 3.5 branches. Perhaps this is being done locally by your browser?

    Unfortunately I can't find a way for github to link to a specific line in a .rst file, but when I look at the source code and https://github.com/python/cpython/blob/3.5/Doc/reference/import.rst, I don't see any line breaks.

    @roysmith
    Copy link
    Mannequin Author

    roysmith mannequin commented Oct 13, 2019

    Yeah, that's weird. Looks like this may be a Chrome bug. I'm seeing it in Chrome (Version 77.0.3865.90 (Official Build) (64-bit)), but not Safari. This is on MacOS (High Sierra).

    In the attached screenshot, I narrowed the window a bit. In the second paragraph, it's mis-broken "modules" and "contain", but hyphenated some other line breaks. If I diddle with the CSS and disable "hyphens: auto", it stops breaking words completely (which is probably better than breaking them wrong).

    I guess close this and I'll open a bug against Chrome.

    @roysmith
    Copy link
    Mannequin Author

    roysmith mannequin commented Nov 27, 2019

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    docs Documentation in the Doc dir
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant