Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 799 Bytes

common.rst

File metadata and controls

24 lines (17 loc) · 799 Bytes

Common utilities (bottle_utils.common)

The bottle_utils.common module contains functions and constants that are used in other modules.

This module also contains a few constants and variables that improve code that targets both Python 2.x and Python 3.x. Note, though, that this mostly works in the context of Bottle Utils and hasn't been tested in too many different versions of Python. If you want a more comprehensive solution, you should look at six.

This module also contains names unicode and basestring, which work as expected in both Python 2.x and Python 3.x.

Module contents

bottle_utils.common