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.
3 call(3, "dogsay", textwrap.dedent("""dove
5 call(3, "dogsay", textwrap.dedent("""dove
7 call(3, textwrap.dedent("""cow
8 moo""" % "cowabunga"), "dogsay")
9 call(3, "dogsay", textwrap.dedent("""crow
10 caw""" % "cowabunga"),)
11 call(3, textwrap.dedent("""cat
12 meow""" % "cowabunga"), {"dog", "say"})
13 call(3, {"dog", "say"}, textwrap.dedent("""horse
14 neigh""" % "cowabunga"))
15 call(3, {"dog", "say"}, textwrap.dedent("""pig
16 oink""" % "cowabunga"),)
17 textwrap.dedent("""A one-line triple-quoted string.""")
18 textwrap.dedent("""A two-line triple-quoted string
19 since it goes to the next line.""")
20 textwrap.dedent("""A three-line triple-quoted string
21 that not only goes to the next line
22 but also goes one line beyond.""")
24 A triple-quoted string
25 actually leveraging the textwrap.dedent functionality
26 that ends in a trailing newline,
27 representing e.g. file contents.
29 path.write_text(textwrap.dedent("""\
30 A triple-quoted string
31 actually leveraging the textwrap.dedent functionality
32 that ends in a trailing newline,
33 representing e.g. file contents.
35 path.write_text(textwrap.dedent("""\
36 A triple-quoted string
37 actually leveraging the textwrap.dedent functionality
38 that ends in a trailing newline,
39 representing e.g. {config_filename} file contents.
40 """.format("config_filename", config_filename)))
60 generated_readme = lambda project_name: """
64 """.strip().format(project_name)
66 Custom extra help summary.
74 def get_stuff(cr, value):
84 def get_stuff(cr, value):
112 re.MULTILINE | re.VERBOSE,
114 dis_c_instance_method = """\
115 %3d 0 LOAD_FAST 1 (x)
120 10 LOAD_CONST 0 (None)
122 """ % (_C.__init__.__code__.co_firstlineno + 1,)
123 path.write_text(textwrap.dedent("""\
124 A triple-quoted string
125 actually {verb} the textwrap.dedent functionality
126 that ends in a trailing newline,
127 representing e.g. {file_type} file contents.
128 """.format(verb="using", file_type="test")))
138 def dastardly_default_value(
139 cow: String = json.loads("""this
154 msg = f"""The arguments {bad_arguments} were passed in.
155 Please use `--build-option` instead,
156 `--global-option` is reserved to flags like `--verbose` or `--quiet`.
165 textwrap.dedent("""dove
166 coo""" % "cowabunga"),
171 textwrap.dedent("""dove
172 coo""" % "cowabunga"),
176 textwrap.dedent("""cow
177 moo""" % "cowabunga"),
183 textwrap.dedent("""crow
184 caw""" % "cowabunga"),
188 textwrap.dedent("""cat
189 meow""" % "cowabunga"),
195 textwrap.dedent("""horse
196 neigh""" % "cowabunga"),
201 textwrap.dedent("""pig
202 oink""" % "cowabunga"),
204 textwrap.dedent("""A one-line triple-quoted string.""")
205 textwrap.dedent("""A two-line triple-quoted string
206 since it goes to the next line.""")
207 textwrap.dedent("""A three-line triple-quoted string
208 that not only goes to the next line
209 but also goes one line beyond.""")
211 A triple-quoted string
212 actually leveraging the textwrap.dedent functionality
213 that ends in a trailing newline,
214 representing e.g. file contents.
216 path.write_text(textwrap.dedent("""\
217 A triple-quoted string
218 actually leveraging the textwrap.dedent functionality
219 that ends in a trailing newline,
220 representing e.g. file contents.
222 path.write_text(textwrap.dedent("""\
223 A triple-quoted string
224 actually leveraging the textwrap.dedent functionality
225 that ends in a trailing newline,
226 representing e.g. {config_filename} file contents.
227 """.format("config_filename", config_filename)))
229 data = yaml.load("""\
239 data = yaml.load("""\
246 """.replace("\n", "")
247 generated_readme = lambda project_name: """
251 """.strip().format(project_name)
253 Custom extra help summary.
261 def get_stuff(cr, value):
274 def get_stuff(cr, value):
307 re.MULTILINE | re.VERBOSE,
309 dis_c_instance_method = """\
310 %3d 0 LOAD_FAST 1 (x)
315 10 LOAD_CONST 0 (None)
317 """ % (_C.__init__.__code__.co_firstlineno + 1,)
318 path.write_text(textwrap.dedent("""\
319 A triple-quoted string
320 actually {verb} the textwrap.dedent functionality
321 that ends in a trailing newline,
322 representing e.g. {file_type} file contents.
323 """.format(verb="using", file_type="test")))
338 def dastardly_default_value(
339 cow: String = json.loads("""this
355 msg = f"""The arguments {bad_arguments} were passed in.
356 Please use `--build-option` instead,
357 `--global-option` is reserved to flags like `--verbose` or `--quiet`.