def _get_memcache_timeout(self, key, options=None):
timeout = ContextOptions.memcache_timeout(options)<EOL>if timeout is None:<EOL><INDENT>timeout = self._memcache_timeout_policy(key)<EOL><DEDENT>if timeout is None:<EOL><INDENT>timeout = ContextOptions.memcache_timeout(self._conn.config)<EOL><DEDENT>if timeout is None:<EOL><INDENT>timeout = <NUM_LIT:0><EOL><DEDENT>return timeout<EOL>
Return the memcache timeout (expiration) for this key.