Pull requests

#15 Merged
Repository
moses-palmer
Branch
fixup-python3
Repository
Jeffrey
Branch
default

Allow gevent-websocket to be installed with setuptools

Author
  1. Moses Palmér
Reviewers
Description

This commit changes the print statement in server.py from "print str1, str2" to "print(str1 + str2)".

The latter is valid Python 2 as well as Python 3.

  • Learn about pull requests

Comments (2)

  1. Moses Palmér author

    Actually not; the expression ("string") is equal to "string", so in Python 2 without 'from future...' it will still be valid; it will be interpreted as a print statement with a parentheses enclosed single string.