Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Ellipsis
#3
i have a dictionary of option defaults. i had been using None in past code to indicate the option has no default. but in the current project i need to indicate there is no default along with that parameter must be specified on the command line (or it is an error). i was thinking maybe i could use Ellipsis for that.
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
Ellipsis - by Skaperen - May-19-2019, 11:04 PM
RE: Ellipsis - by scidam - May-20-2019, 01:18 AM
RE: Ellipsis - by Skaperen - May-20-2019, 06:22 AM
RE: Ellipsis - by scidam - May-20-2019, 10:46 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  how is Ellipsis or ... used? Skaperen 9 2,193 Oct-04-2022, 10:17 PM
Last Post: Skaperen

Forum Jump:

User Panel Messages

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