[issue38218] SyntaxError in Tutorial 8.6 Defining Clean-up Actions

2019-09-18 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Thank you for your contribution -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue38218] SyntaxError in Tutorial 8.6 Defining Clean-up Actions

2019-09-18 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: New changeset 6612a4fd36c7f2d71b00da12a3ad4ce619670cd2 by Stéphane Wirtel (Miss Islington (bot)) in branch '3.8': [3.8] bpo-38218: Doc: Corrected syntax for return annotation (GH-16265) (GH-16274)

[issue38218] SyntaxError in Tutorial 8.6 Defining Clean-up Actions

2019-09-18 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: New changeset 20d3bce3effd7cca71a9bf3caa247eef2791517b by Stéphane Wirtel (Miss Islington (bot)) in branch '3.7': [3.7] bpo-38218: Doc: Corrected syntax for return annotation (GH-16265) (GH-16275)

[issue38218] SyntaxError in Tutorial 8.6 Defining Clean-up Actions

2019-09-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +15863 pull_request: https://github.com/python/cpython/pull/16274 ___ Python tracker ___

[issue38218] SyntaxError in Tutorial 8.6 Defining Clean-up Actions

2019-09-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +15864 pull_request: https://github.com/python/cpython/pull/16275 ___ Python tracker ___

[issue38218] SyntaxError in Tutorial 8.6 Defining Clean-up Actions

2019-09-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +15862 pull_request: https://github.com/python/cpython/pull/16273 ___ Python tracker ___

[issue38218] SyntaxError in Tutorial 8.6 Defining Clean-up Actions

2019-09-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +15861 pull_request: https://github.com/python/cpython/pull/16272 ___ Python tracker ___

[issue38218] SyntaxError in Tutorial 8.6 Defining Clean-up Actions

2019-09-18 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +15858 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16265 ___ Python tracker ___

[issue38218] SyntaxError in Tutorial 8.6 Defining Clean-up Actions

2019-09-18 Thread Jason Plurad
New submission from Jason Plurad : The second code example in Tutorial section 8.6 defines the function: def bool_return(): -> bool: which throws a SyntaxError: invalid syntax If the function wants to use a return annotation, there should not be a colon after the function name. I have a