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

PEP 342 double colons typos in code #76925

Closed
delimitry mannequin opened this issue Feb 1, 2018 · 3 comments
Closed

PEP 342 double colons typos in code #76925

delimitry mannequin opened this issue Feb 1, 2018 · 3 comments
Labels
3.7 (EOL) end of life 3.8 only security fixes docs Documentation in the Doc dir type-feature A feature request or enhancement

Comments

@delimitry
Copy link
Mannequin

delimitry mannequin commented Feb 1, 2018

BPO 32744
Nosy @delimitry

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 2018-02-01.18:07:42.456>
created_at = <Date 2018-02-01.17:43:36.442>
labels = ['3.8', 'type-feature', '3.7', 'docs']
title = 'PEP 342 double colons typos in code'
updated_at = <Date 2018-02-01.18:07:42.454>
user = 'https://github.com/delimitry'

bugs.python.org fields:

activity = <Date 2018-02-01.18:07:42.454>
actor = 'delimitry'
assignee = 'docs@python'
closed = True
closed_date = <Date 2018-02-01.18:07:42.456>
closer = 'delimitry'
components = ['Documentation']
creation = <Date 2018-02-01.17:43:36.442>
creator = 'delimitry'
dependencies = []
files = []
hgrepos = []
issue_num = 32744
keywords = []
message_count = 3.0
messages = ['311458', '311459', '311461']
nosy_count = 2.0
nosy_names = ['docs@python', 'delimitry']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue32744'
versions = ['Python 2.7', 'Python 3.4', 'Python 3.5', 'Python 3.6', 'Python 3.7', 'Python 3.8']

@delimitry
Copy link
Mannequin Author

delimitry mannequin commented Feb 1, 2018

I've found "double colons" typos in examples:

@consumer
def jpeg_writer(dirname)::  # 1) here
    fileno = 1

and

    try:
        while self.running and self.queue::  # 2) here
           func = self.queue.popleft()

@delimitry delimitry mannequin added 3.7 (EOL) end of life 3.8 only security fixes labels Feb 1, 2018
@delimitry delimitry mannequin assigned docspython Feb 1, 2018
@delimitry delimitry mannequin added docs Documentation in the Doc dir type-feature A feature request or enhancement labels Feb 1, 2018
@delimitry
Copy link
Mannequin Author

delimitry mannequin commented Feb 1, 2018

python/peps#567

@delimitry
Copy link
Mannequin Author

delimitry mannequin commented Feb 1, 2018

Merged. It's fixed now: https://www.python.org/dev/peps/pep-0342/

@delimitry delimitry mannequin closed this as completed Feb 1, 2018
@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
3.7 (EOL) end of life 3.8 only security fixes docs Documentation in the Doc dir type-feature A feature request or enhancement
Projects
None yet
Development

No branches or pull requests

0 participants