rusty_v8 0.32.1

Rust bindings to V8
Documentation
1
2
3
4
5
6
7
8
9
10
11
# Copyright 2020 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""Script for checking if we're running Python 2 or 3."""

from __future__ import print_function

import subprocess
import sys

print("true" if sys.version_info.major == 2 else "false")