Add PEP-484 type annotations to zerver/lib/.

This commit is contained in:
Tim Abbott
2016-01-25 14:42:16 -08:00
parent d8f7d89fb4
commit 2059f650ab
17 changed files with 62 additions and 47 deletions

View File

@@ -11,7 +11,7 @@ class SourceMap(object):
def __init__(self, sourcemap_dir):
self._dir = sourcemap_dir
self._indices = {}
self._indices = {} # type: Dict[str, sourcemap.SourceMapDecoder]
def _index_for(self, minified_src):
'''Return the source map index for minified_src, loading it if not