Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 927bbf1 commit b393ee5Copy full SHA for b393ee5
pythonnet/src/runtime/interop.cs
@@ -21,6 +21,19 @@ namespace Python.Runtime {
21
// when moving to new Python versions.
22
//=======================================================================
23
24
+ [Serializable()]
25
+ [AttributeUsage(AttributeTargets.Method | AttributeTargets.Delegate | AttributeTargets.Property)]
26
+ public class DocStringAttribute : Attribute {
27
+ public DocStringAttribute(string docStr) {
28
+ DocString = docStr;
29
+ }
30
+ public string DocString {
31
+ get { return docStr; }
32
+ set { docStr = value; }
33
34
+ private string docStr;
35
36
+
37
[Serializable()]
38
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Delegate)]
39
internal class PythonMethodAttribute : Attribute {
0 commit comments