Commit Graph

18864 Commits

Author SHA1 Message Date
Martin Panter 6a4d7629da Fix indentation 2016-11-21 13:36:36 +00:00
Serhiy Storchaka 06a8dea46d Fixed the documentation of the structure PyMethodDef.
The fields ml_name and ml_doc are of type "const char *" rather of "char *".
2016-11-21 11:37:18 +02:00
Martin Panter 357ed2e577 Change double hyphens (en dashes) to em (longer) dashes 2016-11-21 00:15:20 +00:00
Serhiy Storchaka cf36835fc5 Issue #28750: Fixed docs of of unicode-escape an raw-unicode-escape C API.
Patch by Xiang Zhang.
2016-11-20 17:20:19 +02:00
Serhiy Storchaka f675a37ed3 Issue #19569: Suggested more appropriate replacements for deprecated Unicode
C API functions.
2016-11-20 12:13:44 +02:00
Serhiy Storchaka f4934ea77d Issue #28701: Replace PyUnicode_CompareWithASCIIString with _PyUnicode_EqualToASCIIString.
The latter function is more readable, faster and doesn't raise exceptions.
2016-11-16 10:17:58 +02:00
Martin Panter efbf20f3a3 Issue #28678: Fix references to numeric_owner parameter 2016-11-13 23:25:06 +00:00
Serhiy Storchaka 022371ff94 Fixed the documentation of parse_constant argument in json.load().
parse_constant doesn't get called on 'null', 'true', 'false' since 3.1/2.7.
2016-11-12 22:47:16 +02:00
Guido van Rossum ae08687c3b Issue 28644: Document recent changes in typing.py (Ivan L) 2016-11-11 15:54:04 -08:00
Andrew Kuchling 58c534dd6c Use http instead of https, due to certificate error 2016-11-08 22:33:31 -05:00
Andrew Kuchling d58fc8b89e Update URL for requests documentation after IRC request 2016-11-08 22:07:43 -05:00
Yury Selivanov 3b3a141a83 Issue #27392: Document loop.connect_accepted_socket()
Patch by Jim Fulton.
2016-11-07 15:35:25 -05:00
Berker Peksag 2ebd6feeae Issue #28088: Don't include self in method signature
Also update versionadded directive to 3.5.3.
2016-11-07 23:36:14 +03:00
Berker Peksag cea632ece5 Issue #21864: Remove outdated section about exceptions from the tutorial
Move the still relevant parts of it to the previous
chapter, "Errors and Exceptions".
2016-11-06 21:15:01 +03:00
Martin Panter 04b3d8b697 Fix spacing after C++ in documentation 2016-11-05 02:40:31 +00:00
INADA Naoki 1ea023e523 Issue #28088: Document Transport.set_protocol and get_protocol 2016-11-04 16:33:47 +09:00
Guido van Rossum 9e80eeb22d Issue #26980: Improve docs for create_unix_connection(). By Mariatta. 2016-11-03 14:17:25 -07:00
Serhiy Storchaka 72b34439bc Fixed hyperlinks for tarfile CLI options. 2016-11-02 21:04:45 +02:00
Serhiy Storchaka 92c1a90462 Issue #28513: Documented command-line interface of zipfile. 2016-11-02 12:06:15 +02:00
INADA Naoki 3e3e9f3667 Issue #28553: Fix logic error in example code of int.to_bytes doc. 2016-10-31 17:41:47 +09:00
Martin Panter b8c5f54248 Issue #26638: Work around more CLI options that can’t be linked
* Cannot seem to link directly to main options from the “unittest” module,
  because that module has its own set of options
* Mask out linking for options that no longer exist in Python 3
2016-10-30 04:20:23 +00:00
Martin Panter 5c67933940 Issue #26638: Mask undefined CLI options to defeat new Sphinx warnings 2016-10-30 04:20:17 +00:00
Serhiy Storchaka a65a474e19 Issue #22949: Documented that fnmatch.translate() is for use with re.match(). 2016-10-27 22:47:08 +03:00
Serhiy Storchaka 1ecf7d204d Issue #28496: Mark up constants 0, 1 and -1 that denote return values or
special input values as literal text.
2016-10-27 21:41:19 +03:00
Zachary Ware bb444772d9 Fix default role usage 2016-10-25 21:35:22 -05:00
Benjamin Peterson bc51a8af25 fix name of keyword parameter to gc.collect() (closes #28525)
Patch from vierja.
2016-10-24 23:00:03 -07:00
Yury Selivanov e8a6045fea Issue #26796: Don't configure the number of workers for default threadpool executor.
Initial patch by Hans Lawrenz.
2016-10-21 17:40:42 -04:00
Brett Cannon f8c1505736 Issue #25152: Mention the deprecation of pyvenv 2016-10-21 12:53:40 -07:00
Yury Selivanov ea75a513df Issue #26010: Document CO_* constants 2016-10-20 13:06:30 -04:00
Serhiy Storchaka 807e2f3459 Issue #19795: Fixed formatting a table. 2016-10-19 19:37:20 +03:00
Serhiy Storchaka 4adf01caae Issue #19795: Improved more markups of True/False. 2016-10-19 18:30:05 +03:00
Serhiy Storchaka 1883542eb9 Issue #19795: Fixed markup errors. 2016-10-19 18:11:24 +03:00
Serhiy Storchaka a97cd2eb17 Issue #19795: Mark up True and False as literal text instead of bold. 2016-10-19 16:43:42 +03:00
Serhiy Storchaka ecf41da83e Issue #19795: Mark up None as literal text. 2016-10-19 16:29:26 +03:00
Victor Stinner 9f2e377beb Issue #27896: Allow passing sphinx options to Doc/Makefile
Patch written by Julien Palard.
2016-10-16 19:14:23 +02:00
Berker Peksag e5b0bd1ba2 Fix default value of StreamReader.readuntil()
Reported by Sam Lunt on docs@p.o.
2016-10-18 00:34:46 +03:00
Berker Peksag 5493e4723a Issue #28455: Clarify example of overriding the convert_arg_line_to_args method
Patch by Mariatta Wijaya.
2016-10-17 06:14:17 +03:00
Berker Peksag 90e028970a Issue #28432: Fix first parameter name in PyUnicode_EncodeLocale documentation
Patch by Xiang Zhang.
2016-10-17 00:45:56 +03:00
Ned Deily 11194f7e0f Remove spurious article. 2016-10-15 15:12:03 -04:00
Martin Panter 684340ede5 Issue #27800: Document limitation and workaround for multiple RE repetitions 2016-10-15 01:18:16 +00:00
Martin Panter c73e9d844f Issue #23231: Document codecs.iterencode(), iterdecode() shortcomings 2016-10-15 00:56:47 +00:00
Senthil Kumaran 1cea56b597 Issue28438 - Fix the link for pkgutil.get_data doc. Patch contributed by Xiang Zhang. 2016-10-13 22:58:47 -07:00
Guido van Rossum e1478e4ae2 Issue #18789: Update XML vulnerability table to use Safe/Vulnerable instead of No/Yes. 2016-10-13 14:31:50 -07:00
Guido van Rossum 4a4523523e Issue #26869: Document unittest.TestCase.longMessage. (Mariatta) 2016-10-13 14:23:01 -07:00
Guido van Rossum ba29a4fd82 Issue #21443: Show how to change log level for asyncio. 2016-10-13 13:56:40 -07:00
Berker Peksag 0aa7887f43 Issue #28389: Fix ProxiedTransport example in xmlrpc.client documentation 2016-10-09 18:18:21 +03:00
Guido van Rossum 7b2aa2e87c Adjust ClassVar example to use pre-PEP-526 syntax. (Issue #28388) 2016-10-08 20:12:54 -07:00
Guido van Rossum deed0c797c Issue #28388: update typing module documentation. 2016-10-08 20:06:56 -07:00
Serhiy Storchaka 9c0e1f83af Issue #28379: Added sanity checks and tests for PyUnicode_CopyCharacters().
Patch by Xiang Zhang.
2016-10-08 22:45:38 +03:00
Serhiy Storchaka de0574bdab Issue #18287: PyType_Ready() now checks that tp_name is not NULL.
Original patch by Niklas Koep.
2016-10-07 23:24:35 +03:00