File tree Expand file tree Collapse file tree 12 files changed +94
-57
lines changed
Expand file tree Collapse file tree 12 files changed +94
-57
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,9 @@ namespace Python.Runtime
55{
66 /// <summary>
77 /// Represents a Python dictionary object. See the documentation at
8- /// http://www.python.org/doc/current/api/dictObjects.html for details.
8+ /// PY2: https://docs.python.org/2/c-api/dict.html
9+ /// PY3: https://docs.python.org/3/c-api/dict.html
10+ /// for details.
911 /// </summary>
1012 public class PyDict : PyObject
1113 {
Original file line number Diff line number Diff line change @@ -5,7 +5,9 @@ namespace Python.Runtime
55{
66 /// <summary>
77 /// Represents a Python float object. See the documentation at
8- /// http://www.python.org/doc/current/api/floatObjects.html
8+ /// PY2: https://docs.python.org/2/c-api/float.html
9+ /// PY3: https://docs.python.org/3/c-api/float.html
10+ /// for details.
911 /// </summary>
1012 public class PyFloat : PyNumber
1113 {
Original file line number Diff line number Diff line change @@ -5,7 +5,9 @@ namespace Python.Runtime
55{
66 /// <summary>
77 /// Represents a Python integer object. See the documentation at
8- /// http://www.python.org/doc/current/api/intObjects.html for details.
8+ /// PY2: https://docs.python.org/2/c-api/int.html
9+ /// PY3: No equivalent
10+ /// for details.
911 /// </summary>
1012 public class PyInt : PyNumber
1113 {
Original file line number Diff line number Diff line change @@ -5,7 +5,9 @@ namespace Python.Runtime
55{
66 /// <summary>
77 /// Represents a standard Python iterator object. See the documentation at
8- /// http://www.python.org/doc/2.4.4/api/iterator.html for details.
8+ /// PY2: https://docs.python.org/2/c-api/iterator.html
9+ /// PY3: https://docs.python.org/3/c-api/iterator.html
10+ /// for details.
911 /// </summary>
1012 public class PyIter : PyObject , IEnumerator < object >
1113 {
Original file line number Diff line number Diff line change @@ -4,7 +4,9 @@ namespace Python.Runtime
44{
55 /// <summary>
66 /// Represents a standard Python list object. See the documentation at
7- /// http://www.python.org/doc/current/api/listObjects.html for details.
7+ /// PY2: https://docs.python.org/2/c-api/list.html
8+ /// PY3: https://docs.python.org/3/c-api/list.html
9+ /// for details.
810 /// </summary>
911 public class PyList : PySequence
1012 {
Original file line number Diff line number Diff line change @@ -4,7 +4,9 @@ namespace Python.Runtime
44{
55 /// <summary>
66 /// Represents a Python long int object. See the documentation at
7- /// http://www.python.org/doc/current/api/longObjects.html
7+ /// PY2: https://docs.python.org/2/c-api/long.html
8+ /// PY3: https://docs.python.org/3/c-api/long.html
9+ /// for details.
810 /// </summary>
911 public class PyLong : PyNumber
1012 {
Original file line number Diff line number Diff line change @@ -5,7 +5,9 @@ namespace Python.Runtime
55 /// <summary>
66 /// Represents a generic Python number. The methods of this class are
77 /// equivalent to the Python "abstract number API". See
8- /// http://www.python.org/doc/current/api/number.html for details.
8+ /// PY2: https://docs.python.org/2/c-api/number.html
9+ /// PY3: https://docs.python.org/3/c-api/number.html
10+ /// for details.
911 /// </summary>
1012 public class PyNumber : PyObject
1113 {
Original file line number Diff line number Diff line change @@ -8,7 +8,9 @@ namespace Python.Runtime
88 /// <summary>
99 /// Represents a generic Python object. The methods of this class are
1010 /// generally equivalent to the Python "abstract object API". See
11- /// http://www.python.org/doc/current/api/object.html for details.
11+ /// PY2: https://docs.python.org/2/c-api/object.html
12+ /// PY3: https://docs.python.org/3/c-api/object.html
13+ /// for details.
1214 /// </summary>
1315 public class PyObject : DynamicObject , IDisposable
1416 {
Original file line number Diff line number Diff line change @@ -6,7 +6,9 @@ namespace Python.Runtime
66 /// <summary>
77 /// Represents a generic Python sequence. The methods of this class are
88 /// equivalent to the Python "abstract sequence API". See
9- /// http://www.python.org/doc/current/api/sequence.html for details.
9+ /// PY2: https://docs.python.org/2/c-api/sequence.html
10+ /// PY3: https://docs.python.org/3/c-api/sequence.html
11+ /// for details.
1012 /// </summary>
1113 public class PySequence : PyObject , IEnumerable
1214 {
Original file line number Diff line number Diff line change @@ -4,9 +4,13 @@ namespace Python.Runtime
44{
55 /// <summary>
66 /// Represents a Python (ansi) string object. See the documentation at
7- /// http://www.python.org/doc/current/api/stringObjects.html for details.
8- /// 2011-01-29: ...Then why does the string constructor call PyUnicode_FromUnicode()???
7+ /// PY2: https://docs.python.org/2/c-api/string.html
8+ /// PY3: No Equivalent
9+ /// for details.
910 /// </summary>
11+ /// <remarks>
12+ /// 2011-01-29: ...Then why does the string constructor call PyUnicode_FromUnicode()???
13+ /// </remarks>
1014 public class PyString : PySequence
1115 {
1216 /// <summary>
You can’t perform that action at this time.
0 commit comments