Lines Matching +full:- +full:replace
1 # -*- coding: utf-8 -*-
8 ---------------------
10 A new backend named 'foo-bar' corresponds to Python module
13 A backend module should provide a docstring, whose first non-empty line will be
20 ------------------
30 -----------------
38 generate_<format>_begin(events) Generate backend- and format-specific file
40 generate_<format>_end(events) Generate backend- and format-specific file
42 generate_<format>(event) Generate backend- and format-specific contents
49 __copyright__ = "Copyright 2012-2014, Lluís Vilanova <vilanova@ac.upc.edu>"
71 # just in case; should never fail unless non-module files are put there
85 name = modname.replace("_", "-")
96 name = name.replace("-", "_")
102 self._backends = [backend.replace("-", "_") for backend in backends]
103 self._format = format.replace("-", "_")