summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-12-27 18:58:47 -0800
committerGitHub <noreply@github.com>2019-12-27 18:58:47 -0800
commit04c1efe5acc89b6f3f2c208604a1c35641e8a380 (patch)
tree26db406a457fa9ca7d812a7d4fa1709c880f8855
parent2786fdec79c35b4a68afea2bbbedbba3b6eb2269 (diff)
downloadcpython-git-04c1efe5acc89b6f3f2c208604a1c35641e8a380.tar.gz
bpo-38731: Fix function signature of quiet in docs (GH-17719)
(cherry picked from commit 98f0f04b5016e63561d313a3446b7b58f2c12611) Co-authored-by: Batuhan Taşkaya <47358913+isidentical@users.noreply.github.com>
-rw-r--r--Doc/library/py_compile.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/py_compile.rst b/Doc/library/py_compile.rst
index 3824353abd..a12a5bb0b1 100644
--- a/Doc/library/py_compile.rst
+++ b/Doc/library/py_compile.rst
@@ -27,7 +27,7 @@ byte-code cache files in the directory containing the source code.
Exception raised when an error occurs while attempting to compile the file.
-.. function:: compile(file, cfile=None, dfile=None, doraise=False, optimize=-1, invalidation_mode=PycInvalidationMode.TIMESTAMP)
+.. function:: compile(file, cfile=None, dfile=None, doraise=False, optimize=-1, invalidation_mode=PycInvalidationMode.TIMESTAMP, quiet=0)
Compile a source file to byte-code and write out the byte-code cache file.
The source code is loaded from the file named *file*. The byte-code is