From 0b98209d36a32458bb6a585d3f7d0b2068d7f352 Mon Sep 17 00:00:00 2001 From: wernerfb Date: Tue, 14 Apr 2015 17:15:52 +0200 Subject: [PATCH] fix a few Sphinx warnings --- wx/lib/floatcanvas/FCObjects.py | 4 ++-- wx/lib/floatcanvas/Utilities/BBox.py | 24 ++++++++++++------------ wx/lib/splitter.py | 4 ++-- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/wx/lib/floatcanvas/FCObjects.py b/wx/lib/floatcanvas/FCObjects.py index 09f5fd92..1e84e0cf 100644 --- a/wx/lib/floatcanvas/FCObjects.py +++ b/wx/lib/floatcanvas/FCObjects.py @@ -2381,8 +2381,8 @@ class DotGrid: """ An example of a Grid Object -- it is set on the FloatCanvas with one of:: - FloatCanvas.GridUnder = Grid - FloatCanvas.GridOver = Grid + FloatCanvas.GridUnder = Grid + FloatCanvas.GridOver = Grid It will be drawn every time, regardless of the viewport. diff --git a/wx/lib/floatcanvas/Utilities/BBox.py b/wx/lib/floatcanvas/Utilities/BBox.py index ec6a06fa..36641d19 100755 --- a/wx/lib/floatcanvas/Utilities/BBox.py +++ b/wx/lib/floatcanvas/Utilities/BBox.py @@ -25,10 +25,10 @@ class BBox(N.ndarray): Takes Data as an array. Data is any python sequence that can be turned into a 2x2 numpy array of floats:: - [ - [MinX, MinY ], - [MaxX, MaxY ] - ] + [ + [MinX, MinY ], + [MaxX, MaxY ] + ] It is a subclass of numpy.ndarray, so for the most part it can be used as an array, and arrays that fit the above description can be used in its place. @@ -47,10 +47,10 @@ class BBox(N.ndarray): Takes Data as an array. Data is any python sequence that can be turned into a 2x2 numpy array of floats:: - [ - [MinX, MinY ], - [MaxX, MaxY ] - ] + [ + [MinX, MinY ], + [MaxX, MaxY ] + ] You don't usually call this directly. BBox objects are created with the factory functions: @@ -204,10 +204,10 @@ def asBBox(data): view of the data with that array. The numpy array should be of the correct format: a 2x2 numpy array of floats:: - [ - [MinX, MinY ], - [MaxX, MaxY ] - ] + [ + [MinX, MinY ], + [MaxX, MaxY ] + ] """ diff --git a/wx/lib/splitter.py b/wx/lib/splitter.py index 3938a5d3..3a5639e4 100644 --- a/wx/lib/splitter.py +++ b/wx/lib/splitter.py @@ -63,9 +63,9 @@ class MultiSplitterWindow(wx.Panel): :param Window `parent`: the parent window :param integer `id`: an identifier for the control: a value of -1 is taken to mean a default :param Point `pos`: the control position. A value of (-1, -1) indicates a default position, - chosen by either the windowing system or wxPython, depending on platform + chosen by either the windowing system or wxPython, depending on platform :param Size `size`: the control size. A value of (-1, -1) indicates a default size, - chosen by either the windowing system or wxPython, depending on platform + chosen by either the windowing system or wxPython, depending on platform :param integer `style`: the control window style :param string `name`: the control name """