Skip to content
Myr

Merge pull request #1715 from ThiefMaster/patch-1

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Add missing return to g.setdefault

authored by David Lord · committed by David Lord · parents e7367c9, a4df0fb · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:flask/ctx.py+1 added-1 removed
34 unmodified lines
35 else:36 return self.__dict__.pop(name, default)3738 def setdefault(self, name, default=None):39 self.__dict__.setdefault(name, default)39 return self.__dict__.setdefault(name, default)4041 def __contains__(self, item):42 return item in self.__dict__43
363 unmodified lines