Skip to content
This repository has been archived by the owner on Mar 28, 2022. It is now read-only.

Commit

Permalink
Merge pull request #19 from bjolivot/master
Browse files Browse the repository at this point in the history
Fix #18
  • Loading branch information
StefanLindblom authored Apr 10, 2017
2 parents 42af9c7 + 17fb20e commit b17b178
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pyFG/py23_compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

import sys

PY2 = sys.version_info.major == 2
PY3 = sys.version_info.major == 3
PY2 = sys.version_info[0] == 2
PY3 = sys.version_info[0] == 3

if sys.version_info.major == 3:
if sys.version_info[0] == 3:
string_types = (str,)
text_type = str
else:
Expand Down

0 comments on commit b17b178

Please sign in to comment.