@@ -391,7 +391,6 @@ function TPyDelphiPersistent.GetNamePath_Wrapper(
391391class procedure TPyDelphiPersistent.RegisterMethods (
392392 PythonType: TPythonType);
393393begin
394- inherited ;
395394 PythonType.AddMethod(' Assign' , @TPyDelphiPersistent.Assign_Wrapper,
396395 ' TPersistent.Assign(persistent)' #10 +
397396 ' Assigns to this object the values of another TPersistent object' );
@@ -584,7 +583,6 @@ function TPyDelphiCollection.Insert_Wrapper(args: PPyObject): PPyObject;
584583
585584class procedure TPyDelphiCollection.RegisterGetSets (PythonType: TPythonType);
586585begin
587- inherited ;
588586 with PythonType do
589587 begin
590588 AddGetSet(' Count' , @TPyDelphiCollection.Get_Count, nil ,
@@ -599,7 +597,6 @@ class procedure TPyDelphiCollection.RegisterGetSets(PythonType: TPythonType);
599597class procedure TPyDelphiCollection.RegisterMethods (
600598 PythonType: TPythonType);
601599begin
602- inherited ;
603600 PythonType.AddMethod(' Insert' , @TPyDelphiCollection.Insert_Wrapper,
604601 ' TCollection.Insert(Index)' #10 +
605602 ' Inserts a new collection item to the collection at the Index position' );
@@ -998,7 +995,6 @@ procedure TPyDelphiComponent.SetDelphiObject(const Value: TComponent);
998995class procedure TPyDelphiComponent.RegisterGetSets (
999996 PythonType: TPythonType);
1000997begin
1001- inherited ;
1002998 with PythonType do
1003999 begin
10041000 AddGetSet(' ComponentCount' , @TPyDelphiComponent.Get_ComponentCount, nil ,
@@ -1013,7 +1009,6 @@ class procedure TPyDelphiComponent.RegisterGetSets(
10131009class procedure TPyDelphiComponent.RegisterMethods (
10141010 PythonType: TPythonType);
10151011begin
1016- inherited ;
10171012 PythonType.AddMethod(' GetParentComponent' , @TPyDelphiComponent.GetParentComponent_Wrapper,
10181013 ' TComponent.GetParentComponent()' #10 +
10191014 ' Returns the parent of a component.' );
@@ -1462,7 +1457,6 @@ function TPyDelphiStrings.MpSubscript(obj: PPyObject): PPyObject;
14621457
14631458class procedure TPyDelphiStrings.RegisterGetSets (PythonType: TPythonType);
14641459begin
1465- inherited ;
14661460 with PythonType do
14671461 begin
14681462 AddGetSet(' Capacity' , @TPyDelphiStrings.Get_Capacity, @TPyDelphiStrings.Set_Capacity,
@@ -1476,7 +1470,6 @@ class procedure TPyDelphiStrings.RegisterGetSets(PythonType: TPythonType);
14761470
14771471class procedure TPyDelphiStrings.RegisterMethods (PythonType: TPythonType);
14781472begin
1479- inherited ;
14801473 PythonType.AddMethod(' Add' , @TPyDelphiStrings.Add_Wrapper,
14811474 ' TStrings.Add(s)' #10 +
14821475 ' Adds a string to the TStrings object and returns the index position' );
@@ -1573,7 +1566,6 @@ function TPyDelphiBasicAction.Get_ActionComponent(AContext: Pointer): PPyObject;
15731566class procedure TPyDelphiBasicAction.RegisterGetSets (
15741567 PythonType: TPythonType);
15751568begin
1576- inherited ;
15771569 with PythonType do
15781570 begin
15791571 AddGetSet(' ActionComponent' , @TPyDelphiBasicAction.Get_ActionComponent, @TPyDelphiBasicAction.Set_ActionComponent,
@@ -1584,7 +1576,6 @@ class procedure TPyDelphiBasicAction.RegisterGetSets(
15841576class procedure TPyDelphiBasicAction.RegisterMethods (
15851577 PythonType: TPythonType);
15861578begin
1587- inherited ;
15881579 PythonType.AddMethod(' Execute' , @TPyDelphiBasicAction.Execute_Wrapper,
15891580 ' TBasicAction.Execute()' #10 +
15901581 ' Generates an OnExecute event.' );
0 commit comments