From 379e98588f78e9e17efd4164a557e610d9c26756 Mon Sep 17 00:00:00 2001 From: Ant Zucaro Date: Sun, 23 Dec 2012 08:49:34 -0500 Subject: [PATCH] Add comment to the get_ranks function. --- xonstat/views/main.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xonstat/views/main.py b/xonstat/views/main.py index 885110f..dfaa5ee 100644 --- a/xonstat/views/main.py +++ b/xonstat/views/main.py @@ -68,6 +68,10 @@ def get_summary_stats(): @cache_region('hourly_term') def get_ranks(game_type_cd): """ + Gets a set number of the top-ranked people for the specified game_type_cd. + + The game_type_cd parameter is the type to fetch. Currently limited to + duel, dm, ctf, and tdm. """ # how many ranks we want to fetch leaderboard_count = 10 -- 2.39.2