All patches and comments are welcome. Please squash your changes to logical
commits before using git-format-patch and git-send-email to
patches@git.madduck.net.
If you'd read over the Git project's submission guidelines and adhered to them,
I'd be especially grateful.
4 call(3, "dogsay", textwrap.dedent("""dove
6 call(3, "dogsay", textwrap.dedent("""dove
8 call(3, textwrap.dedent("""cow
9 moo""" % "cowabunga"), "dogsay")
10 call(3, "dogsay", textwrap.dedent("""crow
11 caw""" % "cowabunga"),)
12 call(3, textwrap.dedent("""cat
13 meow""" % "cowabunga"), {"dog", "say"})
14 call(3, {"dog", "say"}, textwrap.dedent("""horse
15 neigh""" % "cowabunga"))
16 call(3, {"dog", "say"}, textwrap.dedent("""pig
17 oink""" % "cowabunga"),)
18 textwrap.dedent("""A one-line triple-quoted string.""")
19 textwrap.dedent("""A two-line triple-quoted string
20 since it goes to the next line.""")
21 textwrap.dedent("""A three-line triple-quoted string
22 that not only goes to the next line
23 but also goes one line beyond.""")
25 A triple-quoted string
26 actually leveraging the textwrap.dedent functionality
27 that ends in a trailing newline,
28 representing e.g. file contents.
30 path.write_text(textwrap.dedent("""\
31 A triple-quoted string
32 actually leveraging the textwrap.dedent functionality
33 that ends in a trailing newline,
34 representing e.g. file contents.
36 path.write_text(textwrap.dedent("""\
37 A triple-quoted string
38 actually leveraging the textwrap.dedent functionality
39 that ends in a trailing newline,
40 representing e.g. {config_filename} file contents.
41 """.format("config_filename", config_filename)))
61 generated_readme = lambda project_name: """
65 """.strip().format(project_name)
67 Custom extra help summary.
75 def get_stuff(cr, value):
85 def get_stuff(cr, value):
113 re.MULTILINE | re.VERBOSE,
115 dis_c_instance_method = """\
116 %3d 0 LOAD_FAST 1 (x)
121 10 LOAD_CONST 0 (None)
123 """ % (_C.__init__.__code__.co_firstlineno + 1,)
124 path.write_text(textwrap.dedent("""\
125 A triple-quoted string
126 actually {verb} the textwrap.dedent functionality
127 that ends in a trailing newline,
128 representing e.g. {file_type} file contents.
129 """.format(verb="using", file_type="test")))
139 def dastardly_default_value(
140 cow: String = json.loads("""this
155 msg = f"""The arguments {bad_arguments} were passed in.
156 Please use `--build-option` instead,
157 `--global-option` is reserved to flags like `--verbose` or `--quiet`.
166 textwrap.dedent("""dove
167 coo""" % "cowabunga"),
172 textwrap.dedent("""dove
173 coo""" % "cowabunga"),
177 textwrap.dedent("""cow
178 moo""" % "cowabunga"),
184 textwrap.dedent("""crow
185 caw""" % "cowabunga"),
189 textwrap.dedent("""cat
190 meow""" % "cowabunga"),
196 textwrap.dedent("""horse
197 neigh""" % "cowabunga"),
202 textwrap.dedent("""pig
203 oink""" % "cowabunga"),
205 textwrap.dedent("""A one-line triple-quoted string.""")
206 textwrap.dedent("""A two-line triple-quoted string
207 since it goes to the next line.""")
208 textwrap.dedent("""A three-line triple-quoted string
209 that not only goes to the next line
210 but also goes one line beyond.""")
212 A triple-quoted string
213 actually leveraging the textwrap.dedent functionality
214 that ends in a trailing newline,
215 representing e.g. file contents.
217 path.write_text(textwrap.dedent("""\
218 A triple-quoted string
219 actually leveraging the textwrap.dedent functionality
220 that ends in a trailing newline,
221 representing e.g. file contents.
223 path.write_text(textwrap.dedent("""\
224 A triple-quoted string
225 actually leveraging the textwrap.dedent functionality
226 that ends in a trailing newline,
227 representing e.g. {config_filename} file contents.
228 """.format("config_filename", config_filename)))
230 data = yaml.load("""\
240 data = yaml.load("""\
247 """.replace("\n", "")
248 generated_readme = lambda project_name: """
252 """.strip().format(project_name)
254 Custom extra help summary.
262 def get_stuff(cr, value):
275 def get_stuff(cr, value):
308 re.MULTILINE | re.VERBOSE,
310 dis_c_instance_method = """\
311 %3d 0 LOAD_FAST 1 (x)
316 10 LOAD_CONST 0 (None)
318 """ % (_C.__init__.__code__.co_firstlineno + 1,)
319 path.write_text(textwrap.dedent("""\
320 A triple-quoted string
321 actually {verb} the textwrap.dedent functionality
322 that ends in a trailing newline,
323 representing e.g. {file_type} file contents.
324 """.format(verb="using", file_type="test")))
339 def dastardly_default_value(
340 cow: String = json.loads("""this
356 msg = f"""The arguments {bad_arguments} were passed in.
357 Please use `--build-option` instead,
358 `--global-option` is reserved to flags like `--verbose` or `--quiet`.