News for hackers. Stuff that matters.
Re:A few things to remember while coding in Python by jsprinkles on Sunday May 20, 2012 @12:55AM (#3997982)
I originally had "don't do that!" in my comment with your exact code, and edited it out for brevity because I've only seen a couple people do it (and they understood the ramifications, which others have told you). If you're interested in brevity, this is as terse as it gets:

    L = [] if L is None else L

There are no comments on this comment yet.