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

Additional 2to3 documentation updates #48250

Closed
lambertdw mannequin opened this issue Sep 30, 2008 · 5 comments
Closed

Additional 2to3 documentation updates #48250

lambertdw mannequin opened this issue Sep 30, 2008 · 5 comments
Assignees
Labels
docs Documentation in the Doc dir

Comments

@lambertdw
Copy link
Mannequin

lambertdw mannequin commented Sep 30, 2008

BPO 4000
Nosy @birkenfeld

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 = 'https://github.com/birkenfeld'
closed_at = <Date 2008-10-04.18:33:31.880>
created_at = <Date 2008-09-30.04:20:32.303>
labels = ['docs']
title = 'Additional 2to3 documentation updates'
updated_at = <Date 2008-10-04.18:33:31.878>
user = 'https://bugs.python.org/LambertDW'

bugs.python.org fields:

activity = <Date 2008-10-04.18:33:31.878>
actor = 'georg.brandl'
assignee = 'georg.brandl'
closed = True
closed_date = <Date 2008-10-04.18:33:31.880>
closer = 'georg.brandl'
components = ['Documentation']
creation = <Date 2008-09-30.04:20:32.303>
creator = 'LambertDW'
dependencies = []
files = []
hgrepos = []
issue_num = 4000
keywords = []
message_count = 5.0
messages = ['74065', '74115', '74225', '74269', '74318']
nosy_count = 2.0
nosy_names = ['georg.brandl', 'LambertDW']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = None
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue4000'
versions = ['Python 3.0']

@lambertdw
Copy link
Mannequin Author

lambertdw mannequin commented Sep 30, 2008

http://docs.python.org/dev/3.0/howto/functional.html

a) Refers to "print statement" in Introduction,

b) Uses syntax no longer valid:
       def get_state ((city, state)):
           '''
               alas and unfortunately argument grouping
               is no longer permitted
           '''
           return state

Thanks, that's all for tonight.

@lambertdw lambertdw mannequin assigned birkenfeld Sep 30, 2008
@lambertdw lambertdw mannequin added the docs Documentation in the Doc dir label Sep 30, 2008
@lambertdw
Copy link
Mannequin Author

lambertdw mannequin commented Oct 1, 2008

http://docs.python.org/dev/3.0/library/reprlib.html

Should read  return eval(obj)

        return `obj`

http://docs.python.org/dev/3.0/library/collections.html#id2

Relic decimal point in named tuple example.

>>> for p in Point(3, 4), Point(14, 5/7.):

@lambertdw
Copy link
Mannequin Author

lambertdw mannequin commented Oct 3, 2008

http://docs.python.org/dev/3.0/reference/lexical_analysis.html#identifi
ers-and-keywords

Back quote "`" appears in the list of delimiters.

I suspect it isn't one.

@lambertdw
Copy link
Mannequin Author

lambertdw mannequin commented Oct 3, 2008

http://docs.python.org/dev/3.0/library/reprlib.html

Back ticks didn't become a part of my python repertoire.

I suppose

return repr(obj) # is correct replacement for  return `obj`

@birkenfeld
Copy link
Member

Thanks, fixed all of them in r66794.

@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