Changeset 4270 for anuga_core/source/anuga/caching
- Timestamp:
- Feb 19, 2007, 2:25:18 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/caching/caching.py
r4198 r4270 1323 1323 import types 1324 1324 1325 # On some architectures None gets different hash values1325 # On some architectures None, False and True gets different hash values 1326 1326 if T is None: 1327 return(-1) 1328 if T is False: 1329 return(0) 1330 if T is True: 1327 1331 return(1) 1328 1332
Note: See TracChangeset
for help on using the changeset viewer.