Skip to content

Commit 8ec9804

Browse files
authored
Merge pull request #8048 from JoshuaPartlow/jp-docreview-1
Small updates to address GH issues
2 parents 5fb684f + fe87513 commit 8ec9804

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

docs/python/installing-python-interpreters.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ You can also manually install any of the interpreters listed in the table below
2424

2525
::: moniker range=">=vs-2019"
2626
> [!Note]
27-
> Visual Studio supports Python version 2.7, as well as version 3.5 and greater. While it is possible to use Visual Studio to edit code written in other versions of Python, those versions are not officially supported and features such as IntelliSense and debugging might not work.
27+
> Visual Studio supports Python version 2.7, as well as version 3.5 to 3.7. While it is possible to use Visual Studio to edit code written in other versions of Python, those versions are not officially supported and features such as IntelliSense and debugging might not work.
2828
::: moniker-end
2929

3030
For **Visual Studio 2015 and earlier**, you must manually install one of the interpreters.

docs/python/tutorial-working-with-python-in-visual-studio-step-03-interactive-repl.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ The Visual Studio **Interactive** window for Python provides a rich read-evaluat
3535

3636
![Python interactive window immediate results](media/vs-getting-started-python-12-interactive2.png)
3737

38-
1. When you start writing a multiline statement, like a function definition, the **Interactive** window shows Python's **...** prompt for continuing lines, which, unlike the command-line REPL, provides automatic indentation:
38+
1. When you start writing a multiline statement, like a function definition, the **Interactive** window shows Python's **...** prompt for continuing lines, which, unlike the command-line REPL, provides automatic indentation. To add a new **...** line, press `Shift+Enter`:
3939

4040
![Python interactive window with statement continuation](media/vs-getting-started-python-13-interactive3.png)
4141

docs/python/working-with-c-cpp-python-in-visual-studio.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -394,16 +394,16 @@ Visual Studio supports debugging Python and C++ code together. This section walk
394394

395395
There are a variety of means to create Python extensions as described in the following table. The first two entries for CPython and PyBind11 are what has been discussed in this article already.
396396

397-
| Approach | Vintage | Representative user(s) | Pro(s) | Con(s) |
398-
| --- | --- | --- | --- | --- |
399-
| C/C++ extension modules for CPython | 1991 | Standard Library | [Extensive documentation and tutorials](https://docs.python.org/3/c-api/). Total control. | Compilation, portability, reference management. High C knowledge. |
400-
| [PyBind11](https://github.com/pybind/pybind11) (Recommended for C++) | 2015 | | Lightweight, header-only library for creating Python bindings of existing C++ code. Few dependencies. PyPy compatibility. | Newer, less mature. Heavy use of C++11 features. Short list of supported compilers (Visual Studio is included). |
401-
| Cython (Recommended for C) | 2007 | [gevent](https://www.gevent.org/), [kivy](https://kivy.org/) | Python-like. Highly mature. High performance. | Compilation, new syntax, new toolchain. |
402-
| [Boost.Python](https://www.boost.org/doc/libs/1_66_0/libs/python/doc/html/index.html) | 2002 | | Works with just about every C++ compiler. | Large and complex suite of libraries; contains many workarounds for old compilers. |
403-
| ctypes | 2003 | [oscrypto](https://github.com/wbond/oscrypto) | No compilation, wide availability. | Accessing and mutating C structures cumbersome and error prone. |
404-
| SWIG | 1996 | [crfsuite](http://www.chokkan.org/software/crfsuite/) | Generate bindings for many languages at once. | Excessive overhead if Python is the only target. |
405-
| cffi | 2013 | [cryptography](https://cryptography.io/en/latest/), [pypy](https://pypy.org/) | Ease of integration, PyPy compatibility. | Newer, less mature. |
406-
| [cppyy](https://cppyy.readthedocs.io/en/latest/) | 2017 | | Similar to cffi using C++. | Newer, may have some issues with VS 2017. |
397+
| Approach | Vintage | Representative user(s) |
398+
| --- | --- | --- |
399+
| C/C++ extension modules for CPython | 1991 | Standard Library |
400+
| [PyBind11](https://github.com/pybind/pybind11) (Recommended for C++) | 2015 | |
401+
| Cython (Recommended for C) | 2007 | [gevent](https://www.gevent.org/), [kivy](https://kivy.org/) |
402+
| [Boost.Python](https://www.boost.org/doc/libs/1_66_0/libs/python/doc/html/index.html) | 2002 | |
403+
| ctypes | 2003 | [oscrypto](https://github.com/wbond/oscrypto) |
404+
| SWIG | 1996 | [crfsuite](http://www.chokkan.org/software/crfsuite/) |
405+
| cffi | 2013 | [cryptography](https://cryptography.io/en/latest/), [pypy](https://pypy.org/) |
406+
| [cppyy](https://cppyy.readthedocs.io/en/latest/) | 2017 | |
407407

408408
## See also
409409

0 commit comments

Comments
 (0)