From 1b6a703f017af390a84080ed5b7c7449f4b001df Mon Sep 17 00:00:00 2001 From: AVINASH MADDIKONDA Date: Sat, 22 Aug 2020 00:55:42 +0530 Subject: [PATCH 1/7] Add syntax highlighting to Python code --- README.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index 98a62ba24..773150105 100644 --- a/README.rst +++ b/README.rst @@ -24,7 +24,7 @@ Calling .NET code from Python Python.NET allows CLR namespaces to be treated essentially as Python packages. -.. code-block:: +.. code-block:: python import clr from System import String @@ -33,7 +33,7 @@ Python.NET allows CLR namespaces to be treated essentially as Python packages. To load an assembly, use the ``AddReference`` function in the ``clr`` module: -.. code-block:: +.. code-block:: python import clr clr.AddReference("System.Windows.Forms") @@ -85,7 +85,7 @@ Example Output: -.. code:: +.. code:: csharp 1.0 -0.958924274663 From 62bf977fca417a5d3af71d2f981ec61849bc9992 Mon Sep 17 00:00:00 2001 From: AVINASH MADDIKONDA Date: Sat, 22 Aug 2020 01:10:04 +0530 Subject: [PATCH 2/7] Update AUTHORS.md --- AUTHORS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AUTHORS.md b/AUTHORS.md index 3b9d5534b..23327f84c 100644 --- a/AUTHORS.md +++ b/AUTHORS.md @@ -20,6 +20,7 @@ - Alexandre Catarino([@AlexCatarino](https://github.com/AlexCatarino)) - Andrey Sant'Anna ([@andreydani](https://github.com/andreydani)) - Arvid JB ([@ArvidJB](https://github.com/ArvidJB)) +- Avinash Maddikonda ([@SFM61319](https://github.com/SFM61319)) - Benoît Hudson ([@benoithudson](https://github.com/benoithudson)) - Bradley Friedman ([@leith-bartrich](https://github.com/leith-bartrich)) - Callum Noble ([@callumnoble](https://github.com/callumnoble)) @@ -75,4 +76,3 @@ - ([@stonebig](https://github.com/stonebig)) - ([@testrunner123](https://github.com/testrunner123)) - ([@DanBarzilian](https://github.com/DanBarzilian)) - From 71d15ac48058171e8548cd43482d5ab604104916 Mon Sep 17 00:00:00 2001 From: AVINASH MADDIKONDA Date: Sat, 22 Aug 2020 01:13:43 +0530 Subject: [PATCH 3/7] Update CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b62b291fc..f8443c654 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ This document follows the conventions laid out in [Keep a CHANGELOG][]. ## [Unreleased][] ### Added +- Add syntax highlighting for Python code in [README.rst](https://github.com/pythonnet/pythonnet/blob/master/README.rst) ### Changed - Drop support for Python 2 From b861aad043d0266ee9e4783f0a13a59479ac959b Mon Sep 17 00:00:00 2001 From: AVINASH MADDIKONDA Date: Sat, 22 Aug 2020 01:19:06 +0530 Subject: [PATCH 4/7] Update AUTHORS.md --- AUTHORS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AUTHORS.md b/AUTHORS.md index 23327f84c..aa873cb17 100644 --- a/AUTHORS.md +++ b/AUTHORS.md @@ -20,7 +20,7 @@ - Alexandre Catarino([@AlexCatarino](https://github.com/AlexCatarino)) - Andrey Sant'Anna ([@andreydani](https://github.com/andreydani)) - Arvid JB ([@ArvidJB](https://github.com/ArvidJB)) -- Avinash Maddikonda ([@SFM61319](https://github.com/SFM61319)) +- Avinash Maddikonda ([@SFM61319](https://github.com/SFM61319/)) - Benoît Hudson ([@benoithudson](https://github.com/benoithudson)) - Bradley Friedman ([@leith-bartrich](https://github.com/leith-bartrich)) - Callum Noble ([@callumnoble](https://github.com/callumnoble)) From b31fc10a92e578ce5822ed3873f4aaa81eeece92 Mon Sep 17 00:00:00 2001 From: AVINASH MADDIKONDA Date: Sat, 22 Aug 2020 01:21:18 +0530 Subject: [PATCH 5/7] Add @SFM61319 to the Contributors' list Add Avinash Maddikonda (@SFM61319; https://github.com/SFM61319) under Contributors --- AUTHORS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AUTHORS.md b/AUTHORS.md index aa873cb17..23327f84c 100644 --- a/AUTHORS.md +++ b/AUTHORS.md @@ -20,7 +20,7 @@ - Alexandre Catarino([@AlexCatarino](https://github.com/AlexCatarino)) - Andrey Sant'Anna ([@andreydani](https://github.com/andreydani)) - Arvid JB ([@ArvidJB](https://github.com/ArvidJB)) -- Avinash Maddikonda ([@SFM61319](https://github.com/SFM61319/)) +- Avinash Maddikonda ([@SFM61319](https://github.com/SFM61319)) - Benoît Hudson ([@benoithudson](https://github.com/benoithudson)) - Bradley Friedman ([@leith-bartrich](https://github.com/leith-bartrich)) - Callum Noble ([@callumnoble](https://github.com/callumnoble)) From 7fbc53160da5cba214baa037f94595ff75e7a774 Mon Sep 17 00:00:00 2001 From: AVINASH MADDIKONDA Date: Sat, 22 Aug 2020 01:24:10 +0530 Subject: [PATCH 6/7] Add README.rst's Python syntax highlighting info Add info about updated Python syntax highlighting in README.rst's Python code examples --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f8443c654..9cb9e7431 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,7 +8,7 @@ This document follows the conventions laid out in [Keep a CHANGELOG][]. ## [Unreleased][] ### Added -- Add syntax highlighting for Python code in [README.rst](https://github.com/pythonnet/pythonnet/blob/master/README.rst) +- Add Python syntax highlighting for Python code examples in [README.rst](https://github.com/pythonnet/pythonnet/blob/master/README.rst) ### Changed - Drop support for Python 2 From 877357b3648d025cdf62b2c3ec54d8ee0b01ab0f Mon Sep 17 00:00:00 2001 From: Benedikt Reinartz Date: Sun, 23 Aug 2020 13:39:31 +0200 Subject: [PATCH 7/7] Update CHANGELOG.md --- CHANGELOG.md | 1 - 1 file changed, 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9cb9e7431..b62b291fc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,7 +8,6 @@ This document follows the conventions laid out in [Keep a CHANGELOG][]. ## [Unreleased][] ### Added -- Add Python syntax highlighting for Python code examples in [README.rst](https://github.com/pythonnet/pythonnet/blob/master/README.rst) ### Changed - Drop support for Python 2 pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy