empty set and empty dict for Python 3

Discussion in 'Python' started by Yingjie Lan, Jul 15, 2010.

  1. Yingjie Lan

    Yingjie Lan Guest

    Hi there,

    Maybe somebody already suggested this:

    How about "{:}" for the empty dict,
    so that "{}" can denote the empty set?


    Yingjie
    Yingjie Lan, Jul 15, 2010
    #1
    1. Advertising

  2. Yingjie Lan

    Peter Otten Guest

    Peter Otten, Jul 15, 2010
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ethan Furman

    Python 3: dict & dict.keys()

    Ethan Furman, Jul 24, 2013, in forum: Python
    Replies:
    4
    Views:
    197
    Steven D'Aprano
    Jul 25, 2013
  2. Peter Otten

    Re: Python 3: dict & dict.keys()

    Peter Otten, Jul 24, 2013, in forum: Python
    Replies:
    1
    Views:
    83
    Neil Cerutti
    Jul 24, 2013
  3. Oscar Benjamin

    Re: Python 3: dict & dict.keys()

    Oscar Benjamin, Jul 24, 2013, in forum: Python
    Replies:
    0
    Views:
    96
    Oscar Benjamin
    Jul 24, 2013
  4. Peter Otten

    Re: Python 3: dict & dict.keys()

    Peter Otten, Jul 24, 2013, in forum: Python
    Replies:
    0
    Views:
    83
    Peter Otten
    Jul 24, 2013
  5. Skip Montanaro

    Re: Python 3: dict & dict.keys()

    Skip Montanaro, Jul 24, 2013, in forum: Python
    Replies:
    0
    Views:
    103
    Skip Montanaro
    Jul 24, 2013
Loading...

Share This Page