Module ImportFrom alias ImportFrom alias Import alias Import alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad Call AttributeLoad NameLoad attr NameLoad Num NameLoad decorator_list Assign NameStore Call NameLoad Call NameLoad ListLoad Str Str Str ListLoad Num Num Num Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Num Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Assign NameStore Call NameLoad Call NameLoad ListLoad Str Str Str ListLoad Num Num Num Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Num Assign NameStore Call NameLoad Call NameLoad ListLoad Str Str Str ListLoad Num Num Num Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Num Assign NameStore Call NameLoad Call NameLoad ListLoad Str Str Str ListLoad Num Num Num Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Num decorator_list decorator_list
N/A __future__ unicode_literals prompt_toolkit.utils take_using_weights N/A unittest N/A itertools SplitLinesTest N/A N/A unittest TestCase N/A test_using_weights N/A N/A self N/A N/A take N/A N/A generator count N/A N/A N/A N/A list N/A N/A itertools islice generator 0 count N/A N/A data N/A take N/A take_using_weights N/A A B C N/A 5 10 20 35 N/A N/A N/A self assertEqual N/A N/A data count A 5 N/A N/A N/A self assertEqual N/A N/A data count B 10 N/A N/A N/A self assertEqual N/A N/A data count C 20 N/A N/A N/A self assertEqual data N/A A B C C B C C A B C C B C C A B C C B C C A B C C B C C A B C C B C C N/A data N/A take N/A take_using_weights N/A A B C N/A 20 10 5 35 N/A N/A N/A self assertEqual N/A N/A data count A 20 N/A N/A N/A self assertEqual N/A N/A data count B 10 N/A N/A N/A self assertEqual N/A N/A data count C 5 N/A data N/A take N/A take_using_weights N/A A B C N/A 20 10 5 70 N/A N/A N/A self assertEqual N/A N/A data count A 40 N/A N/A N/A self assertEqual N/A N/A data count B 20 N/A N/A N/A self assertEqual N/A N/A data count C 10 N/A data N/A take N/A take_using_weights N/A A B C N/A -20 10 0 70 N/A N/A N/A self assertEqual N/A N/A data count A 0 N/A N/A N/A self assertEqual N/A N/A data count B 70 N/A N/A N/A self assertEqual N/A N/A data count C 0 N/A N/A