From ba34313f9f142a25c9c96f48e84248f134897662 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sun, 7 Jun 2015 13:13:51 +0900 Subject: [PATCH] mkapiref.py: Ensure better 2 and 3 support --- doc/mkapiref.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/mkapiref.py b/doc/mkapiref.py index 23ab9cc5..6ed5fd73 100755 --- a/doc/mkapiref.py +++ b/doc/mkapiref.py @@ -1,4 +1,5 @@ #!/usr/bin/env python +# -*- coding: utf-8 -*- # nghttp2 - HTTP/2 C Library # Copyright (c) 2012 Tatsuhiro Tsujikawa @@ -23,6 +24,8 @@ # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # Generates API reference from C source code. + +from __future__ import unicode_literals from __future__ import print_function # At least python 2.6 is required import re, sys, argparse, os.path