mirror of https://github.com/python/cpython
Merged revisions 79797 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r79797 | ezio.melotti | 2010-04-05 15:51:45 +0300 (Mon, 05 Apr 2010) | 1 line Fix some broken URLs. ........
This commit is contained in:
parent
9bfb628d71
commit
eff4850e44
|
@ -51,7 +51,7 @@ with a tool such as `SWIG <http://www.swig.org>`_. `SIP
|
|||
<http://www.riverbankcomputing.co.uk/software/sip/>`__, `CXX
|
||||
<http://cxx.sourceforge.net/>`_ `Boost
|
||||
<http://www.boost.org/libs/python/doc/index.html>`_, or `Weave
|
||||
<http://www.scipy.org/site_content/weave>`_ are also alternatives for wrapping
|
||||
<http://www.scipy.org/Weave>`_ are also alternatives for wrapping
|
||||
C++ libraries.
|
||||
|
||||
|
||||
|
@ -198,10 +198,10 @@ whole lot of difference between C and C++ -- so the strategy of building a new
|
|||
Python type around a C structure (pointer) type will also work for C++ objects.
|
||||
|
||||
For C++ libraries, you can look at `SIP
|
||||
<http://www.riverbankcomputing.co.uk/sip/>`_, `CXX
|
||||
<http://www.riverbankcomputing.co.uk/software/sip/>`_, `CXX
|
||||
<http://cxx.sourceforge.net/>`_, `Boost
|
||||
<http://www.boost.org/libs/python/doc/index.html>`_, `Weave
|
||||
<http://www.scipy.org/site_content/weave>`_ or `SWIG <http://www.swig.org>`_
|
||||
<http://www.scipy.org/Weave>`_ or `SWIG <http://www.swig.org>`_
|
||||
|
||||
|
||||
I added a module using the Setup file and the make fails; why?
|
||||
|
|
|
@ -335,7 +335,7 @@ substring.
|
|||
|
||||
List comprehensions and generator expressions (short form: "listcomps" and
|
||||
"genexps") are a concise notation for such operations, borrowed from the
|
||||
functional programming language Haskell (http://www.haskell.org). You can strip
|
||||
functional programming language Haskell (http://www.haskell.org/). You can strip
|
||||
all the whitespace from a stream of strings with the following code::
|
||||
|
||||
line_list = [' line 1\n', 'line 2 \n', ...]
|
||||
|
|
|
@ -74,7 +74,7 @@ number of standard Unix command line editors, :program:`vim` and
|
|||
http://www.barebones.com/products/bbedit/index.shtml) are good choices, as is
|
||||
:program:`TextMate` (see http://macromates.com/). Other editors include
|
||||
:program:`Gvim` (http://macvim.org) and :program:`Aquamacs`
|
||||
(http://aquamacs.org).
|
||||
(http://aquamacs.org/).
|
||||
|
||||
To run your script from the Terminal window you must make sure that
|
||||
:file:`/usr/local/bin` is in your shell search path.
|
||||
|
|
|
@ -731,7 +731,7 @@ of the more notable changes are:
|
|||
...
|
||||
|
||||
For a fuller discussion of the line I/O changes, see the python-dev summary for
|
||||
January 1-15, 2001 at http://www.python.org/dev/summary/2001-01-1.html.
|
||||
January 1-15, 2001 at http://www.python.org/dev/summary/2001-01-1/.
|
||||
|
||||
* A new method, :meth:`popitem`, was added to dictionaries to enable
|
||||
destructively iterating through the contents of a dictionary; this can be faster
|
||||
|
|
|
@ -2191,7 +2191,7 @@ changes, or look through the Subversion logs for all the details.
|
|||
This produces better results when operating on Unix's dot-files.
|
||||
For example, ``os.path.splitext('.ipython')``
|
||||
now returns ``('.ipython', '')`` instead of ``('', '.ipython')``.
|
||||
(:issue:`115886`)
|
||||
(:issue:`1115886`)
|
||||
|
||||
A new function, ``os.path.relpath(path, start='.')``, returns a relative path
|
||||
from the ``start`` path, if it's supplied, or from the current
|
||||
|
|
Loading…
Reference in New Issue