Skip to content

Commit

Permalink
add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
lperron committed Jun 28, 2019
1 parent 3d42d42 commit 5a33438
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ortools/sat/python/cp_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@
Domain = sorted_interval_list.Domain

# Documentation cleaning.
# Remove the documentation of some functions.
# See https://pdoc3.github.io/pdoc/doc/pdoc/#overriding-docstrings-with-
__pdoc__ = {}
__pdoc__['DisplayBounds'] = False
__pdoc__['EvaluateLinearExpr'] = False
Expand Down
1 change: 1 addition & 0 deletions ortools/sat/python/sat.i
Original file line number Diff line number Diff line change
Expand Up @@ -97,3 +97,4 @@ PY_PROTO_TYPEMAP(ortools.sat.sat_parameters_pb2,
%include "ortools/sat/swig_helper.h"

%unignoreall

2 changes: 2 additions & 0 deletions ortools/util/python/sorted_interval_list.i
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
%}

%pythonbegin %{
# Remove the documentation of some functions.
# See https://pdoc3.github.io/pdoc/doc/pdoc/#overriding-docstrings-with-
__pdoc__ = {}
__pdoc__['Domain_AllValues'] = False
__pdoc__['Domain_FromFlatIntervals'] = False
Expand Down

0 comments on commit 5a33438

Please sign in to comment.