Miss Islington (bot)
66cdc84e40
Extending Python Doc minor updates (GH-4518) (GH-4536)
...
Move footnote markers to be closer to the related terminology:
before the end of the sentence, instead of after.
(cherry picked from commit cdfe910e74
)
2017-11-24 00:55:33 -08:00
INADA Naoki
4cde4bdcc8
bpo-31095: Fix potential crash during GC (GH-3197)
...
(cherry picked from commit a6296d34a4
)
2017-09-04 12:31:41 +09:00
Mariatta
e1b02ff588
[2.7] bpo-28315: Improve code examples in docs (GH-1372) ( #1447 )
...
Replace
File "<stdin>", line 1, in ?
with
File "<stdin>", line 1, in <module>.
(cherry picked from commit 8856940cf2
)
2017-05-03 18:54:28 -07:00
INADA Naoki
9436bbd87b
bpo-29165: doc: make extending/newtypes more Python 3 friendly (GH-211)
...
* Use PyVarObject_HEAD_INIT instead of PyObject_HEAD_INIT on type struct header.
* Backport many minor fixes from Python 3 doc to minimize diff.
2017-02-21 21:12:03 +09:00
Serhiy Storchaka
e4a147b1bd
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
e3e362e398
Issue #26638 : Mask undefined CLI options to defeat new Sphinx warnings
2016-10-30 05:19:02 +00:00
Serhiy Storchaka
0ea51b18d5
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
Martin Panter
8f1dd224e0
Issue #26462 : Doc: avoid literal_block warnings, fix syntax highlighting.
...
Patch by Julien Palard.
2016-07-26 11:18:21 +02:00
Georg Brandl
6e0b44ef9e
Closes #25910 : fix dead and permanently redirected links in the docs. Thanks to SilentGhost for the patch.
2016-02-26 19:37:12 +01:00
Berker Peksag
9fa7e2e5ef
Fix broken link in Doc/extending/index.rst
2015-09-27 12:06:26 +03:00
Zachary Ware
677688be22
Issue #25022 : Add NEWS, fix docs to not mention the old example.
2015-09-10 15:50:58 -05:00
Zachary Ware
c6fe4dbea5
Issue #24680 : Remove random backslash. Patch by cdz.
2015-07-21 22:33:16 -05:00
Benjamin Peterson
0258c5de8b
emphasize that cffi is better than extension modules for portability
2015-01-05 14:38:46 -06:00
Georg Brandl
06f3b3b98c
Use https:// URLs when referring to python.org hosts.
2014-10-29 08:36:35 +01:00
Georg Brandl
7788dba204
Closes #19071 : "self" argument is not the module for module functions in 2.x.
2014-10-06 18:01:02 +02:00
Nick Coghlan
73188fb68b
Issue #19407 : add Python Packaging User Guide notes
...
The stdlib docs for package distribution and building extensions
are rather dated, and that isn't expected to change for 2.7 and
3.3.
The Python Packaging User Guide isn't complete either, but it's
already a much better road map for new users than the existing
stdlib docs.
2013-12-10 21:18:32 +10:00
Serhiy Storchaka
99a196fcfc
Issue 19195: Improved cross-references in C API documentation.
2013-10-09 13:25:21 +03:00
Georg Brandl
4bfc96bf43
Closes #17725 : small grammar fix.
2013-10-06 18:36:34 +02:00
Georg Brandl
e8c52e13ee
Minor improvement: add indication that the main function goes on.
2013-10-06 13:14:10 +02:00
Georg Brandl
b2efdee890
Small clarification in extending docs.
2013-10-06 11:02:38 +02:00
Antoine Pitrou
92fae55bc9
Issue #18589 : fix hyperlinking of type slots (tp_*)
2013-08-01 21:17:24 +02:00
Ned Deily
7dc9bd84df
Issue #18164 : Backport the more detailed embedding compile-and-link section
...
from the Python 3 documentation.
2013-06-24 14:21:43 -07:00
Ezio Melotti
43b09d49b6
Fix the highlight in another example.
2013-02-22 07:53:23 +02:00
Ezio Melotti
986f71cb2d
#17256 : fix syntax highlight in embedding example. Patch by Kushal Das.
2013-02-22 07:38:11 +02:00
Georg Brandl
d7bae5e85a
Grammar touchup.
2012-11-02 07:34:37 +01:00
Andrew Svetlov
6e96e5e966
Issue #16370 : Mention Py_SetProgramName in example for very high level embedding.
2012-10-31 16:01:09 +02:00
Chris Jerdonek
64c0b2ca3d
Backport from 3.2: remove "Release" and "Date" markers from index pages.
2012-10-28 11:16:36 -07:00
Jesus Cea
9662b84913
Closes #15953 : Incorrect some fields declaration in the PyTypeObject documentation
2012-09-28 16:33:38 +02:00
Antoine Pitrou
5ec84cd69e
Issue #14933 : fix misleading doc about weakref support in extension types.
2012-06-15 19:11:31 +02:00
Sandro Tosi
98ed08f24e
update to new C roles and directives
2012-01-14 16:42:02 +01:00
Eli Bendersky
7ceef09b74
Issue #12672 : remove confusing part of sentence in documentation
2011-08-19 06:33:39 +03:00
Georg Brandl
28dadd988b
Merged revisions 87050,87101,87146,87156,87172,87175,87371,87378,87522-87524,87526,87530-87535 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87050 | georg.brandl | 2010-12-04 18:09:30 +0100 (Sa, 04 Dez 2010) | 1 line
Fix typo.
........
r87101 | georg.brandl | 2010-12-06 23:02:48 +0100 (Mo, 06 Dez 2010) | 1 line
Remove visible XXX comments.
........
r87146 | georg.brandl | 2010-12-09 19:08:43 +0100 (Do, 09 Dez 2010) | 1 line
Fix "seperate".
........
r87156 | georg.brandl | 2010-12-10 11:01:44 +0100 (Fr, 10 Dez 2010) | 1 line
#10668 : fix wrong call of __init__.
........
r87172 | georg.brandl | 2010-12-11 20:10:30 +0100 (Sa, 11 Dez 2010) | 1 line
Avoid AttributeError(_closed) when a TemporaryDirectory is deallocated whose mkdtemp call failed.
........
r87175 | georg.brandl | 2010-12-11 23:19:34 +0100 (Sa, 11 Dez 2010) | 1 line
Fix markup.
........
r87371 | georg.brandl | 2010-12-18 17:21:58 +0100 (Sa, 18 Dez 2010) | 1 line
Fix typo.
........
r87378 | georg.brandl | 2010-12-18 18:51:28 +0100 (Sa, 18 Dez 2010) | 1 line
#10723 : add missing builtin exceptions.
........
r87522 | georg.brandl | 2010-12-28 10:16:12 +0100 (Di, 28 Dez 2010) | 1 line
Replace sys.maxint mention by sys.maxsize.
........
r87523 | georg.brandl | 2010-12-28 10:18:24 +0100 (Di, 28 Dez 2010) | 1 line
Remove confusing paragraph -- this is relevant only to advanced users anyway and does not belong into the tutorial.
........
r87524 | georg.brandl | 2010-12-28 10:29:19 +0100 (Di, 28 Dez 2010) | 1 line
Fix advice: call PyType_Ready to fill in ob_type of custom types.
........
r87526 | georg.brandl | 2010-12-28 11:38:33 +0100 (Di, 28 Dez 2010) | 1 line
#10777 : fix iteration over dict keys while mutating the dict.
........
r87530 | georg.brandl | 2010-12-28 12:06:07 +0100 (Di, 28 Dez 2010) | 1 line
#10767 : update README in crashers; not all may have a bug entry and/or be fixed.
........
r87531 | georg.brandl | 2010-12-28 12:08:17 +0100 (Di, 28 Dez 2010) | 1 line
#10742 : document readonly attribute of memoryviews.
........
r87532 | georg.brandl | 2010-12-28 12:15:49 +0100 (Di, 28 Dez 2010) | 1 line
#10781 : clarify that *encoding* is not a parameter for Node objects in general.
........
r87533 | georg.brandl | 2010-12-28 12:38:12 +0100 (Di, 28 Dez 2010) | 1 line
Remove history; adapt a bit more to reST, since this will once be part of the dev guide.
........
r87534 | georg.brandl | 2010-12-28 12:48:53 +0100 (Di, 28 Dez 2010) | 1 line
Rewrap.
........
r87535 | georg.brandl | 2010-12-28 12:49:41 +0100 (Di, 28 Dez 2010) | 1 line
#10739 : document that on Windows, socket.makefile() does not make a file that has a true file descriptor usable where such a thing is expected.
........
2011-02-25 10:50:32 +00:00
Georg Brandl
749930f0f0
#10398 : manual backport of r73943.
2010-11-12 19:45:46 +00:00
Daniel Stutzbach
93db23ef2f
Merged revisions 84810 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r84810 | daniel.stutzbach | 2010-09-14 11:02:01 -0500 (Tue, 14 Sep 2010) | 1 line
Remove pointers to a FAQ entry that no longer exists. Incorporate some text from the old FAQ into the docs
........
2010-09-14 16:10:22 +00:00
Georg Brandl
7d4bfb338d
Merged revisions 83536,83546-83548,83550,83554-83555,83558,83563,83565,83571,83574-83575 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83536 | georg.brandl | 2010-08-02 19:49:25 +0200 (Mo, 02 Aug 2010) | 1 line
#8578 : mention danger of not incref'ing weak referenced object.
........
r83546 | georg.brandl | 2010-08-02 21:16:34 +0200 (Mo, 02 Aug 2010) | 1 line
#7973 : Fix distutils options spelling.
........
r83547 | georg.brandl | 2010-08-02 21:19:26 +0200 (Mo, 02 Aug 2010) | 1 line
#7386 : add example that shows that trailing path separators are stripped.
........
r83548 | georg.brandl | 2010-08-02 21:23:34 +0200 (Mo, 02 Aug 2010) | 1 line
#8172 : how does one use a property?
........
r83550 | georg.brandl | 2010-08-02 21:32:43 +0200 (Mo, 02 Aug 2010) | 1 line
#9451 : strengthen warning about __*__ special name usage.
........
r83554 | georg.brandl | 2010-08-02 21:43:05 +0200 (Mo, 02 Aug 2010) | 1 line
#7280 : note about nasmw.exe.
........
r83555 | georg.brandl | 2010-08-02 21:44:48 +0200 (Mo, 02 Aug 2010) | 1 line
#8861 : remove unused variable.
........
r83558 | georg.brandl | 2010-08-02 22:05:19 +0200 (Mo, 02 Aug 2010) | 1 line
#8648 : document UTF-7 codec functions.
........
r83563 | georg.brandl | 2010-08-02 22:21:21 +0200 (Mo, 02 Aug 2010) | 1 line
#9037 : add example how to raise custom exceptions from C code.
........
r83565 | georg.brandl | 2010-08-02 22:27:20 +0200 (Mo, 02 Aug 2010) | 1 line
#9111 : document that do_help() looks at docstrings.
........
r83571 | georg.brandl | 2010-08-02 22:44:34 +0200 (Mo, 02 Aug 2010) | 1 line
Clarify that abs() is not a namespace.
........
r83574 | georg.brandl | 2010-08-02 22:47:56 +0200 (Mo, 02 Aug 2010) | 1 line
#6867 : epoll.register() returns None.
........
r83575 | georg.brandl | 2010-08-02 22:52:10 +0200 (Mo, 02 Aug 2010) | 1 line
#9238 : zipfile does handle archive comments.
........
2010-08-02 21:44:25 +00:00
R. David Murray
e5d1c05216
Make reference to Generic Attribute Management a hyperlink.
2010-05-28 18:08:11 +00:00
Larry Hastings
402b73fb8d
Backported PyCapsule from 3.1, and converted most uses of
...
CObject to PyCapsule.
2010-03-25 00:54:54 +00:00
Georg Brandl
236da4be4e
Include structmember.h correctly.
2010-03-21 10:02:47 +00:00
Andrew M. Kuchling
f2055ae43d
Remove Tools/modulator, a reference to it in the docs, and a screenshot of it.
...
(I asked the BDFL first, and he approved removing it. The last actual bugfix
to Tools/modulator was in 2001; since then all changes have been search-and-replace:
string methods, whitespace fixes, etc.)
2010-02-22 21:04:02 +00:00
Brett Cannon
2348eda37b
Note in the intro to Extending... that ctypes can be a simpler, more portable solution than custom C code.
2009-09-17 03:24:45 +00:00
Georg Brandl
d7d4fd7336
builtin -> built-in.
2009-07-26 14:37:28 +00:00
Georg Brandl
0294de028f
#6446 : fix import_spam() function to use correct error and reference handling.
2009-07-11 10:14:54 +00:00
Georg Brandl
16a57f6a34
Demote warnings to notices where appropriate, following the goal that as few "red box" warnings
...
should clutter the docs as possible. Part 1: stuff that gets merged to Py3k.
2009-04-27 15:29:09 +00:00
Georg Brandl
c2784229b8
#5417 : replace references to undocumented functions by ones to documented functions.
2009-03-31 16:50:25 +00:00
Georg Brandl
a0eea590c7
Add section numbering to some of the larger subdocuments.
2009-03-28 19:57:36 +00:00
Georg Brandl
7044b11818
Remove tabs from the documentation.
2009-01-03 21:04:55 +00:00
Georg Brandl
c62ef8b4d9
Remove trailing whitespace.
2009-01-03 20:55:06 +00:00
Georg Brandl
cbc1ed5e28
#4611 : fix typo.
2008-12-15 08:36:11 +00:00
Georg Brandl
9af9498c6e
Remove things specific to the old Macintosh, and spell "Mac OS X" consistently.
2008-09-13 17:41:16 +00:00
Georg Brandl
a27e89bd04
#3711 : .dll isn't a valid Python extension anymore.
2008-08-28 09:40:18 +00:00