blob: 1d36fcd122af7fb0cf6ed5e0187d55a4c91eed70 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
'''
Module giving a float representation
of the interpreter major version (1.4, 1.5 etceteras)
ver -- Float representation of the current interpreter version
Note: Since I no longer have any Python 1.4 modules, this module is
no longer in use by me. I intend to leave it here for the next version
jump :) .
'''
import regex, sys, string
ver = string.atof(sys.version[:regex.match('[0-9.]*', sys.version)])
### Clean up namespace
del(regex)
del(sys)
del(string)
|