ScoDoc/app/scodoc/sco_core.py

27 lines
617 B
Python
Raw Normal View History

2021-05-29 18:22:51 +02:00
# -*- mode: python -*-
# -*- coding: utf-8 -*-
"""essai: ceci serait un module scodoc/sco_xxx.py
2021-05-29 18:22:51 +02:00
"""
import types
import sco_utils as scu
2021-05-29 18:22:51 +02:00
def sco_get_version(context, REQUEST=None):
"""Une fonction typique de ScoDoc7"""
2021-05-29 18:22:51 +02:00
return """<html><body><p>%s</p></body></html>""" % scu.SCOVERSION
def test_refactor(context, x=1):
x = context.toto()
2021-06-13 18:29:53 +02:00
y = ("context=" + sco_edit_module.module_is_locked(context, "alpha")) + "23"
z = html_sco_header.sco_header(context,
2021-06-12 22:43:22 +02:00
a_long_argument_hahahahaha=1,
another_very_long_arggggggggggggg=2,
z=6,
u=99,
kkkkkk=1,
)