Fixes https://github.com/praw-dev/praw/issues/265
Modified as per discussion in #264
Removed unnecessary import
Fixed broken syntax in 3.x
Another syntax error fix for 3.x
Merge branch 'issue/265'
Merge branch 'issue/263'