Andrew M. Kuchling
fb759a25f2
Fix doubled 'the'.
...
Markup fixes to use :exc:, :option: in a few places.
(Glitch: unittest.main's -c ends up a link to the Python
interpreter's -c option. Should we skip using :option: for that
switch, or disable the auto-linking somehow?)
2010-04-29 01:44:30 +00:00
Andrew M. Kuchling
15c82d2151
Add various items
2010-04-29 00:22:16 +00:00
Antoine Pitrou
689405ee14
Clarify and fix the documentation for IOBase.close()
2010-04-28 19:57:33 +00:00
Antoine Pitrou
ece349e517
State clearly that truncate() doesn't move the file position,
...
and remove a duplicate of its specification.
2010-04-28 19:53:35 +00:00
Senthil Kumaran
ed9204346e
Fixed Issue6312 - httplib fails with HEAD requests to pages with "transfer-encoding: chunked"
2010-04-28 17:20:43 +00:00
Nick Coghlan
ad709ee06b
Add version changed note for -m tinkering with sys.argv[0] during the search process
2010-04-28 14:53:59 +00:00
Nick Coghlan
c5e4485248
Issue 8202: when using the -m command line switch, sys.argv[0] is now '-m' instead of '-c' while searching for the module to be executed
2010-04-28 14:51:08 +00:00
Nick Coghlan
dfb45dfd04
Issue 7490: make IGNORE_EXCEPTION_DETAIL also ignore details of the module containing the exception under test (original patch by Lennart Regebro)
2010-04-28 14:29:06 +00:00
Benjamin Peterson
eef5c35c14
make slice notation in (r)find docs consistent
2010-04-27 22:56:31 +00:00
Benjamin Peterson
a9bd6d5ea7
reject None as the buffering argument like the C implementation does #8546
2010-04-27 21:01:54 +00:00
Michael Foord
47b5440f43
Adding versionadded to various new unittest functions in documentation
2010-04-26 23:36:47 +00:00
Michael Foord
5c322ece96
Adding unittest.removeHandler function / decorator for removing the signal.SIGINT signal handler. With tests and docs.
2010-04-25 19:02:46 +00:00
Georg Brandl
adbcf1f4a8
Patch from Tim Hatch: Make socket setblocking <-> settimeout examples symmetric.
2010-04-25 10:57:15 +00:00
Georg Brandl
1e518258c9
Fix code example to have valid syntax so that it can be highlighted.
2010-04-25 10:56:41 +00:00
Georg Brandl
bb091e733c
Patch from Tim Hatch: Minor spelling changes to _winreg docs.
2010-04-25 10:55:58 +00:00
Georg Brandl
a3f1e4cde7
Patch from Tim Hatch: Remove reference to winreg being the fabled high-level registry interface.
2010-04-25 10:55:16 +00:00
Georg Brandl
9bfb78d698
Patch from Tim Hatch: Better cross-referencing in socket and winreg docs.
2010-04-25 10:54:42 +00:00
Georg Brandl
1f62087649
Remove LaTeXy index entry syntax.
2010-04-25 10:29:17 +00:00
Georg Brandl
0b093e068e
#8522 : use with statement instead of try-finally for file handling.
2010-04-25 10:17:27 +00:00
Georg Brandl
404bd7f473
#8528 : fix typo.
2010-04-25 10:16:00 +00:00
Brian Curtin
5fa9fb4062
Fix #5774 . Some _winreg functions are documented as taking kwargs but don't.
2010-04-24 17:10:22 +00:00
Georg Brandl
f8bff488bd
Markup fixes.
2010-04-24 08:56:58 +00:00
Sean Reifscheider
f6ce3cb84e
issue8451: Making syslog module use sys.argv[0] for "ident".
2010-04-23 08:31:55 +00:00
Georg Brandl
e11d85c717
Add "report a bug" links in some prominent places. Make it clear that doc bugs can be mailed to docs@python.org. Clarify tracker usage.
2010-04-22 22:15:33 +00:00
Senthil Kumaran
398246169c
Changed tests to only urlparse one, which was enough, addressed Ezio's comment
...
on Invalid url check statement and versionchanged string in docs.
2010-04-22 12:10:13 +00:00
Senthil Kumaran
0a36181953
Updated the RFCs list in the See Also section of urlparse.rst
2010-04-22 05:48:35 +00:00
Tarek Ziadé
e593fad81b
removed ztar support in shutil.make_archive
2010-04-20 21:09:06 +00:00
Ezio Melotti
8c09ebcf0c
#8472 : fix wrong function name in functions.rst: itertools.filterfalse -> itertools.ifilterfalse
2010-04-20 16:49:48 +00:00
Brian Curtin
1f8dd363b7
Add version info for os.kill and signal changes from #1220212 .
2010-04-20 15:23:18 +00:00
Tarek Ziadé
8a12f940fe
Fixed #8463 : added missing reference to bztar in shutil's documentation.
2010-04-19 21:28:21 +00:00
Antoine Pitrou
0a6373c1a9
Issue #8322 : Add a *ciphers* argument to SSL sockets, so as to change the
...
available cipher list. Helps fix test_ssl with OpenSSL 1.0.0.
2010-04-17 17:10:38 +00:00
R. David Murray
7794b5b52f
Update link to Apple Publication Style guide.
2010-04-17 15:45:38 +00:00
Andrew M. Kuchling
85f928a5c9
Add various items
2010-04-15 01:42:27 +00:00
Andrew M. Kuchling
363dbccb2a
Add various items; correct argparse output
2010-04-14 23:55:17 +00:00
Georg Brandl
9f5fd6092b
Fix missing.
2010-04-14 21:46:45 +00:00
Georg Brandl
c9a8a4aab8
#8370 : fix module name in backported doc addition.
2010-04-14 21:36:49 +00:00
Georg Brandl
710a5dbc4a
#5250 : document __instancecheck__ and __subclasscheck__. I hope the part about the class/metaclass distinction is understandable.
2010-04-14 21:34:44 +00:00
Georg Brandl
4a589c3ede
#8399 : add note about Windows and O_BINARY.
2010-04-14 19:16:38 +00:00
Andrew M. Kuchling
b6c1aeb486
Add some text
2010-04-14 14:28:31 +00:00
Georg Brandl
6c50efe76b
Add an x-ref to where the O_ constants are documented and move the SEEK_ constants after lseek().
2010-04-14 13:50:31 +00:00
Andrew M. Kuchling
f03641ace3
Add argparse example
2010-04-14 01:14:59 +00:00
Georg Brandl
d0731072a9
Get rid of multi-row cells.
2010-04-13 06:43:54 +00:00
Andrew M. Kuchling
ce6905245b
Add an item; stray edit
2010-04-13 01:32:51 +00:00
Raymond Hettinger
44340e6d78
Add usage notes for collections.Counter().
2010-04-12 21:12:06 +00:00
Mark Dickinson
78ab583d63
More struct doc tweaks.
2010-04-12 20:38:36 +00:00
Mark Dickinson
b633f10f81
Rewrap some long lines in struct module doc source.
2010-04-12 19:46:20 +00:00
Mark Dickinson
bbacb838c9
Issue #7355 : Various improvements to struct module documentation.
...
- note early on that the result of struct.pack includes padding
bytes by default
- add examples showing how order of struct fields can affect size
(due to padding)
- better headers and references; introduction to format strings
- integrate packing notes into table
Many thanks to Meador Inge for the patch.
2010-04-12 19:25:32 +00:00
Brian Curtin
4e20ab24cf
Update the Windows FAQ's text about os.kill ( #1220212 ).
2010-04-12 18:07:21 +00:00
R. David Murray
1a14d3d169
Issue #7585 : use tab between components in unified and context diff headers.
...
Instead of spaces between the filename and date (or whatever the string
is that follows the filename, if any) use tabs. This is what the unix
'diff' command does, for example, and difflib was intended to follow
the 'standard' way of doing diffs. This improves compatibility with
patch tools. The docs and examples are also changed to recommended that
the date format used be the ISO 8601 format, which is what modern diff
tools emit by default.
Patch by Anatoly Techtonik.
2010-04-12 16:35:19 +00:00
Barry Warsaw
fa900d47b8
typo
2010-04-12 14:40:49 +00:00