Changes between Initial Version and Version 1 of Ticket #36625, comment 3


Ignore:
Timestamp:
Sep 26, 2025, 4:56:33 PM (3 weeks ago)
Author:
Adam Johnson

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #36625, comment 3

    initial v1  
    11Seems like a reasonable improvement.
    22
    3 Small bikeshed: I think `exit()` is more common. It's also worth noting that from Python 3.13+ onwards, the parentheses are not required: https://docs.python.org/3/whatsnew/3.13.html#:~:text=Direct%20support%20for%20REPL%2Dspecific%20commands%20like%20help%2C%20exit%2C%20and%20quit%2C%20without%20the%20need%20to%20call%20them%20as%20functions
     3Small bikeshed: I think `exit()` is more common.
     4
     5
     6It's also worth noting that from Python 3.13+ onwards, the parentheses are not required: https://docs.python.org/3/whatsnew/3.13.html#:~:text=Direct%20support%20for%20REPL%2Dspecific%20commands%20like%20help%2C%20exit%2C%20and%20quit%2C%20without%20the%20need%20to%20call%20them%20as%20functions . We may be able to leave a comment in the document so that when we drop Python 3.12 support we can update the tutorial to remove the parentheses.
Back to Top