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

examples in the functional howto are not consistent with 3.X behavior #48918

Closed
sgala mannequin opened this issue Dec 14, 2008 · 2 comments
Closed

examples in the functional howto are not consistent with 3.X behavior #48918

sgala mannequin opened this issue Dec 14, 2008 · 2 comments
Assignees
Labels
docs Documentation in the Doc dir

Comments

@sgala
Copy link
Mannequin

sgala mannequin commented Dec 14, 2008

BPO 4668
Nosy @birkenfeld
Files
  • 0001-Make-examples-consistent-with-3.0.patch
  • 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-12-15.08:29:40.218>
    created_at = <Date 2008-12-14.23:49:26.827>
    labels = ['docs']
    title = 'examples in the functional howto are not consistent with 3.X behavior'
    updated_at = <Date 2008-12-15.08:29:40.217>
    user = 'https://bugs.python.org/sgala'

    bugs.python.org fields:

    activity = <Date 2008-12-15.08:29:40.217>
    actor = 'georg.brandl'
    assignee = 'georg.brandl'
    closed = True
    closed_date = <Date 2008-12-15.08:29:40.218>
    closer = 'georg.brandl'
    components = ['Documentation']
    creation = <Date 2008-12-14.23:49:26.827>
    creator = 'sgala'
    dependencies = []
    files = ['12360']
    hgrepos = []
    issue_num = 4668
    keywords = ['patch']
    message_count = 2.0
    messages = ['77844', '77848']
    nosy_count = 2.0
    nosy_names = ['georg.brandl', 'sgala']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = None
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue4668'
    versions = ['Python 3.0']

    @sgala
    Copy link
    Mannequin Author

    sgala mannequin commented Dec 14, 2008

    map and filter don't return lists anymore, so wrapping them in list() in
    the examples will make the real output consistent with what is seen in
    the doc.

    @sgala sgala mannequin assigned birkenfeld Dec 14, 2008
    @sgala sgala mannequin added the docs Documentation in the Doc dir label Dec 14, 2008
    @birkenfeld
    Copy link
    Member

    Thanks, fixed in r67783.

    @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