First time here? Check out the FAQ!

Revision history  [back]

Auto-editing glitch

I'm trying to change the signature of the following function by assigning a default value max_area=-1

def drawContours(self, contours, min_area, max_area):

First step: Typing the equal sign gives (as expected)

def drawContours(self, contours, min_area, max_area = ):

Second step: Type the minus. Result is now:

def drawContours(self, contours, min_area, max_area = )-> :

Attached my settings (not quite sure, which one is responsible here. Apparently a combination that tries very hard to enforce a type hint). image description

Auto-editing glitch

I'm trying to change the signature of the following function by assigning a default value max_area=-1

def drawContours(self, contours, min_area, max_area):

First step: Typing the equal sign gives (as expected)

def drawContours(self, contours, min_area, max_area = ):

Second step: Type the minus. Result is now:

def drawContours(self, contours, min_area, max_area = )-> :

Attached my settings (not quite sure, which one is responsible here. Apparently a combination that tries very hard to enforce a type hint). image description

Auto-editing glitch

I'm trying to change the signature of the following function by assigning a default value max_area=-1

def drawContours(self, contours, min_area, max_area):

First step: Typing the equal sign gives (as expected)

def drawContours(self, contours, min_area, max_area = ):

Second step: Type the minus. Result is now:

def drawContours(self, contours, min_area, max_area = )-> :

Attached my settings (not quite sure, which one is responsible here. Apparently a combination that tries very hard to enforce a type hint). image description

Auto-editing glitch

I'm trying to change the signature of the following function by assigning a default value max_area=-1

def drawContours(self, contours, min_area, max_area):

First step: Typing the equal sign gives (as expected)

def drawContours(self, contours, min_area, max_area = ):

Second step: Type the minus. Result is now:

def drawContours(self, contours, min_area, max_area = )-> :

Attached my settings (not quite sure, which one is responsible here. Apparently a combination that tries very hard to enforce a type hint). here). image description