File: file2.py

package info (click to toggle)
python-babel 2.17.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,892 kB
  • sloc: python: 14,521; makefile: 177; javascript: 77; sh: 8
file content (9 lines) | stat: -rw-r--r-- 233 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
# -*- coding: utf-8 -*-
# file2.py for tests

from gettext import ngettext

def foo():
    # Note: This will have the TRANSLATOR: tag but shouldn't
    # be included on the extracted stuff
    print(ngettext('foobar', 'foobars', 1))