fix #1. Decimal dot can be specified by user.
fix #2. Adapted docs to py3k only, and #1 fix.