News for hackers. Stuff that matters.
Re:Anti-Patterns in Python Programming by james2vegas on Wednesday July 09, 2014 @09:03AM (#8009375)
perhaps that line was written by someone used to Perl, where they would have had

@a_list_of_words = qw/my list of words/;

there

Re:Anti-Patterns in Python Programming by dozzie on Wednesday July 09, 2014 @09:15AM (#8009439)
Or rubyst:

  a_list_of_words = %w{my list of words}
Re:Anti-Patterns in Python Programming by rbonvall on Wednesday July 09, 2014 @10:16PM (#8013241)
You'd be sure if they wrote:

    >>> qw = str.split
    >>> qw('my list of words')
    ['my', 'list', 'of', 'words']