Mercurial > emacs
annotate etc/emacs.py @ 84823:9b1c9000269c
Adam Hupp <adam at hupp.org>
Split into emacs2.py and emacs3.py for python 2 and python 3 compatibility.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Mon, 24 Sep 2007 00:18:35 +0000 |
parents | 713172dcf518 |
children | 69c173eabff4 |
rev | line source |
---|---|
84823 | 1 """Wrapper for version-specific implementations of python.el helper |
2 functions """ | |
77605
b4b0e39a8d1f
Restore file pending consideration of python.el legal status.
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
3 |
84823 | 4 import sys |
77605
b4b0e39a8d1f
Restore file pending consideration of python.el legal status.
Glenn Morris <rgm@gnu.org>
parents:
diff
changeset
|
5 |
84823 | 6 if sys.version_info[0] == 3: |
7 from emacs3 import * | |
8 else: | |
9 from emacs2 import * |