keywords.py (googletest-release-1.10.0) | : | keywords.py (googletest-release-1.11.0) | ||
---|---|---|---|---|
skipping to change at line 20 | skipping to change at line 20 | |||
# http://www.apache.org/licenses/LICENSE-2.0 | # http://www.apache.org/licenses/LICENSE-2.0 | |||
# | # | |||
# Unless required by applicable law or agreed to in writing, software | # Unless required by applicable law or agreed to in writing, software | |||
# distributed under the License is distributed on an "AS IS" BASIS, | # distributed under the License is distributed on an "AS IS" BASIS, | |||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||
# See the License for the specific language governing permissions and | # See the License for the specific language governing permissions and | |||
# limitations under the License. | # limitations under the License. | |||
"""C++ keywords and helper utilities for determining keywords.""" | """C++ keywords and helper utilities for determining keywords.""" | |||
__author__ = 'nnorwitz@google.com (Neal Norwitz)' | ||||
try: | try: | |||
# Python 3.x | # Python 3.x | |||
import builtins | import builtins | |||
except ImportError: | except ImportError: | |||
# Python 2.x | # Python 2.x | |||
import __builtin__ as builtins | import __builtin__ as builtins | |||
if not hasattr(builtins, 'set'): | if not hasattr(builtins, 'set'): | |||
# Nominal support for Python 2.3. | # Nominal support for Python 2.3. | |||
from sets import Set as set | from sets import Set as set | |||
End of changes. 1 change blocks. | ||||
2 lines changed or deleted | 0 lines changed or added |