Python Forum
does try really need to be a keyword?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
does try really need to be a keyword?
#5
i'm just trying to understand why Python source code needs to use : and make the word used with it be a reserved word. it seems like syntactic overkill to me. for example, with try as a reserved word, it doesn't need the : to follow it. does anyone know of a case where try by itself would be ambiguous?
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply


Messages In This Thread
does try really need to be a keyword? - by Skaperen - Jan-23-2020, 11:57 PM
RE: does try really need to be a keyword? - by Skaperen - Jan-27-2020, 08:28 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020