Example #1
0
 def _BaseCookie__set(self, key, real_value, coded_value):
     return SimpleCookie._BaseCookie__set(self, key, real_value, coded_value)
Example #2
0
 def _BaseCookie__set(self, key, real_value, coded_value):
     if not ispy3 and not isinstance(key, bytes):
         key = key.encode('ascii')  # Python 2.x cannot handle unicode keys
     return SimpleCookie._BaseCookie__set(self, key, real_value, coded_value)
Example #3
0
 def _BaseCookie__set(self, key, real_value, coded_value):
     if not ispy3 and not isinstance(key, bytes):
         key = key.encode('ascii')  # Python 2.x cannot handle unicode keys
     return SimpleCookie._BaseCookie__set(self, key, real_value,
                                          coded_value)