Georg Brandl
8b687cf683
bug [ 969757 ] function and method objects confounded in Tutorial
2005-07-08 21:36:36 +00:00
Raymond Hettinger
02c64d5684
Note that files are iterable.
2005-06-28 00:16:08 +00:00
Raymond Hettinger
5a34afb745
* Show the keyword argument form of dict().
...
* Note that dict works with the "in" keyword.
2005-06-27 23:36:47 +00:00
Raymond Hettinger
610d9dd38d
Fix typo.
2005-06-17 10:25:33 +00:00
Raymond Hettinger
eeed58cd25
SF bug #1219448 : small output bug
2005-06-14 08:57:28 +00:00
Michael W. Hudson
e8dead47e6
Fix
...
[ python-Bugs-1190599 ] dir() docs show incorrect output
though not entirely how it's suggested in the bug report.
2005-04-27 09:41:23 +00:00
Brett Cannon
7706c2da14
Update references specifying "Macintosh" to mean OS X semantics and not Mac OS
...
9.
Applies patch #1095802 . Thanks Jack Jansen.
2005-02-13 22:50:04 +00:00
Fred Drake
2f8c6589f5
fix typo
2005-01-12 19:11:45 +00:00
Johannes Gijsbers
158df10341
Bug #1098497 : various small typo's, grammar and markup nits.
2005-01-09 00:12:48 +00:00
Raymond Hettinger
68804315e0
SF Patch #1093896 : miscellaneous doc typos
2005-01-01 00:28:46 +00:00
Raymond Hettinger
784ab76c87
Remove the deprecated whrandom module.
2004-12-04 10:50:51 +00:00
Raymond Hettinger
65a350d733
SF bug #1076955 : Tutorial corrections Part II
2004-12-02 07:29:43 +00:00
Raymond Hettinger
aa2b2aa5a3
SF bug #1076955 : Tutorial corrections Part I
...
(Submitted by some anonymous person with an amazing eye for grammer nits.)
2004-12-02 06:08:42 +00:00
Raymond Hettinger
29eb40c365
Fix nit.
2004-12-01 04:22:38 +00:00
Fred Drake
6e3fa2911d
REVERT revision 1.260; the trunk is FROZEN.
...
This change can be made on the trunk and release24-maint branch after
the trunk is unfrozen.
2004-11-29 13:12:44 +00:00
Raymond Hettinger
a98825ce48
Fix a nit.
2004-11-29 08:53:14 +00:00
Raymond Hettinger
83e4a146db
SF bug #1067018 : Obsolete info in Tutorial 9.1
...
Removed a section that is out of date after type/class unification.
While there was still some validity, the paragraph offered more
confusion that insight.
2004-11-18 06:20:30 +00:00
Raymond Hettinger
88c2595bf6
SF bug #1067023 : A small typo
...
Make a minor clarification between "written" and "displayed".
2004-11-18 06:14:27 +00:00
Fred Drake
e808c2341b
- show how to use file.write() with a non-string value
...
(closes SF bug #621057 )
- add missing whitespace around assignment operator
2004-11-02 18:24:26 +00:00
Raymond Hettinger
df8a0032a4
SF 1053956: help() not in tutorial index
2004-10-26 03:53:35 +00:00
Fred Drake
afe73c02a9
- improve the explanation of the -*- coding: ... -*- marker
...
- fix a minor formatting nit that affected the typeset version
2004-10-25 16:03:49 +00:00
Raymond Hettinger
db29e0fe8c
SF patch #1035498 : -m option to run a module as a script
...
(Contributed by Nick Coghlan.)
2004-10-07 06:46:25 +00:00
Tim Peters
01ba799244
A number of list examples used 66.6, but I doubt there's any box on which
...
repr(66.6) == "66.6", so doubt that the claimed output has ever been seen.
Changed it to 66.25 everywhere, and manually verified that the new claimed
output is correct.
2004-09-28 16:12:50 +00:00
Johannes Gijsbers
24f141ab46
Raymond observed that sometimes it's better not to link modules, so I reverted
...
part of my previous last changes.
2004-09-25 00:55:38 +00:00
Johannes Gijsbers
27ebcae450
- Use itemize instead of plain-text '*' for marking up a list.
...
- Add more ulink's to modules (this should probably become a standard macro).
2004-09-24 23:25:25 +00:00
Raymond Hettinger
879ddf30d0
Tweak the wording. Improve examples. Make more brief.
2004-09-14 06:32:20 +00:00
Raymond Hettinger
29c6a79b7d
Cover string.Template in the tutorial's library tour.
2004-09-14 05:21:42 +00:00
Johannes Gijsbers
6ab4b99f95
Patch #1025795 : clarify language in Data Structures chapter of tutorial:
...
- Dictionary keys are in arbitrary order, but not random (which implies, well,
intentional randomness).
- Move a footnote closer to what it's talking about so that it doesn't look
like we're saying that "0 == 0.0" can't be relied on.
- Minor language tweaks in the vicinity.
Thanks Dima Dorfman!
2004-09-11 17:48:21 +00:00
Raymond Hettinger
d3b0babf66
SF bug #1013760 : Error in Chapter 4 of Tutorial
...
Fit a nit.
2004-08-22 15:24:33 +00:00
Raymond Hettinger
d3fe2395b4
Minor improvements to the threading introduction:
...
* Expand the example to show a join.
* Mention the use case of I/O running concurrent with a computational
thread.
* Be a tad more forceful about recommending Queue over other approaches
to synchonization.
* Eliminate discussion around having a single interpreter. This is a
more advanced discussion that belongs in the library reference and
in a section on extending and embedding.
2004-08-16 05:11:04 +00:00
Fred Drake
830d8b8b80
fix markup nit
2004-08-09 14:06:58 +00:00
Michael W. Hudson
b6d9fc38e8
Patch:
...
[ 1003863 ] adds an index entry for __all__ to the tutorial
2004-08-07 17:05:42 +00:00
Fred Drake
4ab0e9e541
revise wording to avoid confusion for non-native English speakers
...
(second occurance of the same wording)
2004-07-21 17:36:47 +00:00
Fred Drake
20938f57ba
revise wording to avoid confusion for non-native English speakers
2004-07-21 17:18:19 +00:00
Raymond Hettinger
44dc13bf3e
Fix decimal write-up nits.
2004-07-11 12:49:47 +00:00
Raymond Hettinger
21f9fce968
Fix typo.
2004-07-10 16:11:03 +00:00
Raymond Hettinger
9499658b61
Add a link to the decimal module docs.
2004-07-09 06:00:32 +00:00
Raymond Hettinger
081483cd42
Fix markup and nits.
2004-07-08 09:33:00 +00:00
Tim Peters
74979664d0
Typo repair.
2004-07-07 02:32:36 +00:00
Fred Drake
1b89656d70
add omitted markup
2004-07-01 14:26:31 +00:00
Raymond Hettinger
68a37ac841
* Fix typos.
...
* Format an example so that the identation is more obvious.
* Add a section on the decimal module to the Brief Tour Part II.
2004-07-01 12:56:54 +00:00
Fred Drake
22ec5c3639
if we must argue over the/they, we can just remove the unecessary word
2004-06-03 17:19:25 +00:00
Raymond Hettinger
2d1a2aa117
Fix typo: the-->they
2004-06-03 14:13:04 +00:00
Raymond Hettinger
e148595504
Fixup spacing in an example.
2004-05-31 22:53:25 +00:00
Raymond Hettinger
4ccf336e56
Fill-in the introductory paragraph for the library tour.
2004-05-26 13:57:54 +00:00
Raymond Hettinger
846865bba6
Add a further tour of the standard library.
2004-05-26 13:52:59 +00:00
Raymond Hettinger
a8aebcedf9
Follow official recommendation for domain names in examples.
2004-05-25 16:08:28 +00:00
Raymond Hettinger
170a62221c
Add more docs for generator expressions.
...
* Put in a brief, example driven tutorial entry.
* Use better examples in whatsnew24.tex.
2004-05-19 19:45:19 +00:00
Martin v. Löwis
f1f0560832
Patch #940026 : Explain "in" when it is first used.
...
Backported to 2.3.
2004-05-06 01:35:45 +00:00
Raymond Hettinger
707483fdef
Update timeit example to reflect current performance.
2004-03-26 07:56:23 +00:00